public static class Property.DurationInSecondsProperty extends Property.DurationProperty
Property.BaseProperty<T>, Property.BooleanProperty, Property.CharsetProperty, Property.DurationInSecondsProperty, Property.DurationProperty, Property.EnumProperty<T extends java.lang.Enum<T>>, Property.IntegerProperty, Property.LongProperty, Property.ObjectProperty, Property.StringProperty, Property.Validating<T>
min
BY_NAME_COMPARATOR, NAME_EXTRACTOR
Constructor and Description |
---|
DurationInSecondsProperty(java.lang.String name) |
DurationInSecondsProperty(java.lang.String name,
java.time.Duration def) |
DurationInSecondsProperty(java.lang.String name,
java.time.Duration def,
java.time.Duration min) |
Modifier and Type | Method and Description |
---|---|
protected java.time.Duration |
fromStorage(java.lang.Object value) |
protected java.lang.Object |
toStorage(java.time.Duration value) |
atLeast
get, getDefault, getName, getOrCustomDefault, getType, set, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
bool, bool, charset, charset, duration, duration, duration, durationSec, durationSec, durationSec, enum_, enum_, getOrNull, getRequired, getRequiredDefault, integer, integer, long_, long_, object, object, remove, string, string, validating
findByName, findFirstMatchByName, getNameList, getNames, ofName, removeByName, safeCompareByName
public DurationInSecondsProperty(java.lang.String name)
public DurationInSecondsProperty(java.lang.String name, java.time.Duration def)
public DurationInSecondsProperty(java.lang.String name, java.time.Duration def, java.time.Duration min)
protected java.lang.Object toStorage(java.time.Duration value)
toStorage
in class Property.DurationProperty
protected java.time.Duration fromStorage(java.lang.Object value)
fromStorage
in class Property.DurationProperty