S - Subject typepublic abstract class BasicFeatureConfig<S> extends Config<S>
Config.FieldPresence| Modifier | Constructor and Description | 
|---|---|
| protected  | BasicFeatureConfig(boolean defaultValue) | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | enabled()Indicates whether the feature for the subject is enabled. | 
| BasicFeatureConfig<S> | enabled(Boolean enabled)Specifies whether the feature for the subject is to be enabled. | 
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, isValid, isValidLength, key, node, setList, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, setOrClear, subject, toStringpublic boolean enabled()
public BasicFeatureConfig<S> enabled(Boolean enabled)
enabled - true to enable; false to disable; null to clear