public static enum Option.DataType extends java.lang.Enum<Option.DataType>
Enum Constant and Description |
---|
BOOLEAN |
NUMBER |
STRING |
STRING_ARRAY |
Modifier and Type | Method and Description |
---|---|
static Option.DataType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Option.DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Option.DataType STRING
public static final Option.DataType NUMBER
public static final Option.DataType BOOLEAN
public static final Option.DataType STRING_ARRAY
public static Option.DataType[] values()
for (Option.DataType c : Option.DataType.values()) System.out.println(c);
public static Option.DataType 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 null