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, toString
public DurationInSecondsProperty(String name)
protected Object toStorage(Duration value)
toStorage
in class Property.DurationProperty
protected Duration fromStorage(Object value)
fromStorage
in class Property.DurationProperty
Copyright © 2008–2022 The Apache Software Foundation. All rights reserved.