public class EnumPropertyDefinition<T extends java.lang.Enum<T>> extends AbstractPropertyDefinition<T>
| Constructor and Description |
|---|
EnumPropertyDefinition(PropertyKey key,
T defaultValue,
boolean isRuntimeModifiable,
java.lang.String description,
java.lang.String sinceVersion,
java.lang.String category,
int orderInCategory) |
| Modifier and Type | Method and Description |
|---|---|
RuntimeProperty<T> |
createRuntimeProperty()
Creates an instance of EnumProperty.
|
java.lang.String[] |
getAllowableValues()
Returns the list of allowable values.
|
T |
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, setUpperBoundpublic EnumPropertyDefinition(PropertyKey key, T defaultValue, boolean isRuntimeModifiable, java.lang.String description, java.lang.String sinceVersion, java.lang.String category, int orderInCategory)
public java.lang.String[] getAllowableValues()
PropertyDefinitiongetAllowableValues in interface PropertyDefinition<T extends java.lang.Enum<T>>getAllowableValues in class AbstractPropertyDefinition<T extends java.lang.Enum<T>>public T parseObject(java.lang.String value, ExceptionInterceptor exceptionInterceptor)
PropertyDefinitionparseObject in interface PropertyDefinition<T extends java.lang.Enum<T>>parseObject in class AbstractPropertyDefinition<T extends java.lang.Enum<T>>value - valueexceptionInterceptor - exception interceptorpublic RuntimeProperty<T> createRuntimeProperty()