public static class Property.EnumProperty<T extends Enum<T>> extends Property.BaseProperty<T>
Property.BaseProperty<T>, Property.BooleanProperty, Property.CharsetProperty, Property.DurationInSecondsProperty, Property.DurationProperty, Property.EnumProperty<T extends Enum<T>>, Property.IntegerProperty, Property.LongProperty, Property.ObjectProperty, Property.StringProperty, Property.Validating<T>| Modifier and Type | Field and Description |
|---|---|
protected Collection<T> |
values |
BY_NAME_COMPARATOR, NAME_EXTRACTOR| Constructor and Description |
|---|
EnumProperty(String name,
Class<T> type) |
EnumProperty(String name,
Class<T> type,
T def) |
| Modifier and Type | Method and Description |
|---|---|
protected T |
fromStorage(Object value) |
get, getDefault, getName, getOrCustomDefault, getType, set, toStorage, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbool, bool, charset, charset, duration, duration, duration, durationSec, durationSec, durationSec, enum_, enum_, getOrNull, getRequired, getRequiredDefault, integer, integer, long_, long_, object, object, remove, string, string, validatingfindByName, findFirstMatchByName, getNameList, getNames, ofName, removeByName, safeCompareByNameprotected final Collection<T extends Enum<T>> values
protected T fromStorage(Object value)
fromStorage in class Property.BaseProperty<T extends Enum<T>>Copyright © 2018–2024 The Apache Software Foundation. All rights reserved.