public static class Property.DurationInSecondsProperty extends Property.DurationProperty
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>BY_NAME_COMPARATOR, NAME_EXTRACTOR| Constructor and Description |
|---|
DurationInSecondsProperty(String name) |
DurationInSecondsProperty(String name,
Duration def) |
| Modifier and Type | Method and Description |
|---|---|
protected Duration |
fromStorage(Object value) |
protected Object |
toStorage(Duration value) |
get, getDefault, getName, getOrCustomDefault, getType, set, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitbool, bool, charset, charset, duration, duration, durationSec, durationSec, enum_, enum_, getOrNull, getRequired, getRequiredDefault, integer, integer, long_, long_, object, object, remove, string, string, validatingfindByName, findFirstMatchByName, getNameList, getNames, ofName, removeByName, safeCompareByNamepublic DurationInSecondsProperty(String name)
protected Object toStorage(Duration value)
toStorage in class Property.DurationPropertyprotected Duration fromStorage(Object value)
fromStorage in class Property.DurationPropertyCopyright © 2018–2021 The Apache Software Foundation. All rights reserved.