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.IntProperty, Property.LongProperty, Property.ObjectProperty, Property.StringProperty, Property.Validating<T>| 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, getOrNull, getRequired, getRequiredDefault, remove, set, toStringpublic DurationInSecondsProperty(String name)
protected Object toStorage(Duration value)
toStorage in class Property.DurationPropertyprotected Duration fromStorage(Object value)
fromStorage in class Property.DurationPropertyCopyright © 2008–2022 The Apache Software Foundation. All rights reserved.