Package org.apache.sshd.common
Class Property.DurationProperty
java.lang.Object
org.apache.sshd.common.Property.BaseProperty<Duration>
org.apache.sshd.common.Property.DurationProperty
- All Implemented Interfaces:
NamedResource,Property<Duration>
- Direct Known Subclasses:
Property.DurationInSecondsProperty
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.sshd.common.Property
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> -
Field Summary
FieldsFields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR -
Constructor Summary
ConstructorsConstructorDescriptionDurationProperty(String name) DurationProperty(String name, Duration def) DurationProperty(String name, Duration def, Duration min) -
Method Summary
Methods inherited from class org.apache.sshd.common.Property.BaseProperty
get, getDefault, getName, getOrCustomDefault, getType, set, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.sshd.common.Property
getOrNull, getRequired, getRequiredDefault, remove
-
Field Details
-
min
-
-
Constructor Details
-
DurationProperty
-
DurationProperty
-
DurationProperty
-
-
Method Details
-
toStorage
- Overrides:
toStoragein classProperty.BaseProperty<Duration>
-
fromStorage
- Specified by:
fromStoragein classProperty.BaseProperty<Duration>
-
toMillis
-
atLeast
-