public class HostLearningConfig extends Config<ConnectPoint>
Config.FieldPresence
Constructor and Description |
---|
HostLearningConfig() |
Modifier and Type | Method and Description |
---|---|
Boolean |
hostLearningEnabled() |
boolean |
isValid()
Indicates whether or not the backing JSON node contains valid data.
|
void |
setEnabled(String boolString) |
apply, 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
public boolean isValid()
Config
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.
isValid
in class Config<ConnectPoint>
public Boolean hostLearningEnabled()
public void setEnabled(String boolString)