|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.crsh.plugin.PropertyDescriptor<T>
public abstract class PropertyDescriptor<T>
Field Summary | |
---|---|
static Map<String,PropertyDescriptor<?>> |
ALL
. |
T |
defaultValue
. |
String |
description
. |
String |
name
. |
static PropertyDescriptor<String> |
SSH_KEYPATH
. |
static PropertyDescriptor<Integer> |
SSH_PORT
. |
static PropertyDescriptor<Integer> |
TELNET_PORT
. |
Class<T> |
type
. |
Method Summary | |
---|---|
protected abstract T |
doParse(String s)
|
T |
parse(String s)
|
Property<T> |
toProperty(String s)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Map<String,PropertyDescriptor<?>> ALL
public static final PropertyDescriptor<Integer> SSH_PORT
public static final PropertyDescriptor<String> SSH_KEYPATH
public static final PropertyDescriptor<Integer> TELNET_PORT
public final Class<T> type
public final String name
public final T defaultValue
public final String description
Method Detail |
---|
public final T parse(String s) throws NullPointerException, IllegalArgumentException
NullPointerException
IllegalArgumentException
public final Property<T> toProperty(String s) throws NullPointerException, IllegalArgumentException
NullPointerException
IllegalArgumentException
protected abstract T doParse(String s)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |