public class BooleanPropertyDefinition extends AbstractPropertyDefinition<java.lang.Boolean>
Modifier and Type | Class and Description |
---|---|
static class |
BooleanPropertyDefinition.AllowableValues |
Constructor and Description |
---|
BooleanPropertyDefinition(PropertyKey key,
java.lang.Boolean defaultValue,
boolean isRuntimeModifiable,
java.lang.String description,
java.lang.String sinceVersion,
java.lang.String category,
int orderInCategory) |
Modifier and Type | Method and Description |
---|---|
static java.lang.Boolean |
booleanFrom(java.lang.String name,
java.lang.String value,
ExceptionInterceptor exceptionInterceptor) |
RuntimeProperty<java.lang.Boolean> |
createRuntimeProperty()
Creates instance of BooleanProperty.
|
java.lang.String[] |
getAllowableValues()
Returns the list of allowable values.
|
static java.lang.String[] |
getBooleanAllowableValues() |
java.lang.Boolean |
parseObject(java.lang.String value,
ExceptionInterceptor exceptionInterceptor)
Returns the value object parsed from it's string representation and checked against allowable values.
|
getCategory, getCcAlias, getDefaultValue, getDescription, getLowerBound, getName, getOrder, getPropertyKey, getSinceVersion, getUpperBound, hasCcAlias, hasValueConstraints, isRangeBased, isRuntimeModifiable, setCategory, setDefaultValue, setDescription, setLowerBound, setOrder, setRuntimeModifiable, setSinceVersion, setUpperBound
public BooleanPropertyDefinition(PropertyKey key, java.lang.Boolean defaultValue, boolean isRuntimeModifiable, java.lang.String description, java.lang.String sinceVersion, java.lang.String category, int orderInCategory)
public java.lang.String[] getAllowableValues()
PropertyDefinition
getAllowableValues
in interface PropertyDefinition<java.lang.Boolean>
getAllowableValues
in class AbstractPropertyDefinition<java.lang.Boolean>
public java.lang.Boolean parseObject(java.lang.String value, ExceptionInterceptor exceptionInterceptor)
PropertyDefinition
parseObject
in interface PropertyDefinition<java.lang.Boolean>
parseObject
in class AbstractPropertyDefinition<java.lang.Boolean>
value
- valueexceptionInterceptor
- exception interceptorpublic RuntimeProperty<java.lang.Boolean> createRuntimeProperty()
public static java.lang.Boolean booleanFrom(java.lang.String name, java.lang.String value, ExceptionInterceptor exceptionInterceptor)
public static java.lang.String[] getBooleanAllowableValues()