public enum ParameterType extends java.lang.Enum<ParameterType>
Enum Constant and Description |
---|
BOOLEAN |
DOUBLE |
ENUM |
FLOAT |
INTEGER |
LONG |
STRING |
Modifier and Type | Method and Description |
---|---|
static ParameterType |
getType(java.lang.Object parameter) |
abstract java.lang.Object |
parse(java.lang.String s) |
static ParameterType |
parseParameterType(java.lang.String s) |
java.lang.String |
toString() |
java.lang.String |
toString(java.lang.Object param) |
static ParameterType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParameterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParameterType INTEGER
public static final ParameterType LONG
public static final ParameterType STRING
public static final ParameterType FLOAT
public static final ParameterType DOUBLE
public static final ParameterType BOOLEAN
public static final ParameterType ENUM
public static ParameterType[] values()
for (ParameterType c : ParameterType.values()) System.out.println(c);
public static ParameterType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<ParameterType>
public abstract java.lang.Object parse(java.lang.String s)
public java.lang.String toString(java.lang.Object param)
public static ParameterType getType(java.lang.Object parameter)
public static ParameterType parseParameterType(java.lang.String s)