Class HostLearningConfig
- java.lang.Object
- 
- org.onosproject.net.config.Config<ConnectPoint>
- 
- org.onosproject.net.config.basics.HostLearningConfig
 
 
- 
 public class HostLearningConfig extends Config<ConnectPoint> Configuration for enabling/disabling host learning.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class org.onosproject.net.config.ConfigConfig.FieldPresence
 
- 
 - 
Constructor SummaryConstructors Constructor Description HostLearningConfig()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleanhostLearningEnabled()booleanisValid()Indicates whether or not the backing JSON node contains valid data.voidsetEnabled(java.lang.String boolString)- 
Methods inherited from class org.onosproject.net.config.Configapply, clear, get, get, get, get, get, get, getList, getList, hasField, hasField, hasFields, hasFields, hasOnlyFields, hasOnlyFields, init, isBoolean, isBoolean, isConnectPoint, isConnectPoint, isDecimal, isDecimal, isIntegralNumber, isIntegralNumber, isIpAddress, isIpAddress, isIpPrefix, isIpPrefix, isMacAddress, isMacAddress, isNumber, isNumber, isString, isString, isTpPort, isTpPort, isValidLength, key, node, setList, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, subject, toString
 
- 
 
- 
- 
- 
Method Detail- 
isValidpublic boolean isValid() Description copied from class:ConfigIndicates whether or not the backing JSON node contains valid data.Default implementation returns true. Subclasses are expected to override this with their own validation. Implementations are free to throw a RuntimeException if data is invalid. - Overrides:
- isValidin class- Config<ConnectPoint>
- Returns:
- true if the data is valid; false otherwise
 
 - 
hostLearningEnabledpublic java.lang.Boolean hostLearningEnabled() 
 - 
setEnabledpublic void setEnabled(java.lang.String boolString) 
 
- 
 
-