Package org.apache.sshd.common
Class Property.EnumProperty<T extends java.lang.Enum<T>>
- java.lang.Object
-
- org.apache.sshd.common.Property.BaseProperty<T>
-
- org.apache.sshd.common.Property.EnumProperty<T>
-
- All Implemented Interfaces:
NamedResource
,Property<T>
public static class Property.EnumProperty<T extends java.lang.Enum<T>> extends Property.BaseProperty<T>
-
-
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 java.lang.Enum<T>>, Property.IntegerProperty, Property.LongProperty, Property.ObjectProperty, Property.StringProperty, Property.Validating<T>
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Collection<T>
values
-
Fields inherited from interface org.apache.sshd.common.NamedResource
BY_NAME_COMPARATOR, NAME_EXTRACTOR
-
-
Constructor Summary
Constructors Constructor Description EnumProperty(java.lang.String name, java.lang.Class<T> type)
EnumProperty(java.lang.String name, java.lang.Class<T> type, T def)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected T
fromStorage(java.lang.Object value)
-
Methods inherited from class org.apache.sshd.common.Property.BaseProperty
get, getDefault, getName, getOrCustomDefault, getType, set, toStorage, 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
-
fromStorage
protected T fromStorage(java.lang.Object value)
- Specified by:
fromStorage
in classProperty.BaseProperty<T extends java.lang.Enum<T>>
-
-