Package org.apache.sshd.common
Class Property.DurationInSecondsProperty
- java.lang.Object
-
- org.apache.sshd.common.Property.BaseProperty<Duration>
-
- org.apache.sshd.common.Property.DurationProperty
-
- org.apache.sshd.common.Property.DurationInSecondsProperty
-
- All Implemented Interfaces:
NamedResource
,Property<Duration>
public static class Property.DurationInSecondsProperty extends Property.DurationProperty
-
-
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
-
Fields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR
-
-
Constructor Summary
Constructors Constructor Description DurationInSecondsProperty(String name)
DurationInSecondsProperty(String name, Duration def)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Duration
fromStorage(Object value)
protected Object
toStorage(Duration value)
-
Methods inherited from class org.apache.sshd.common.Property.BaseProperty
get, getDefault, getName, getOrCustomDefault, getType, set, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.sshd.common.Property
getOrNull, getRequired, getRequiredDefault, remove
-
-
-
-
Method Detail
-
toStorage
protected Object toStorage(Duration value)
- Overrides:
toStorage
in classProperty.DurationProperty
-
fromStorage
protected Duration fromStorage(Object value)
- Overrides:
fromStorage
in classProperty.DurationProperty
-
-