public static enum OptionData.Type extends java.lang.Enum<OptionData.Type>
Enum Constant and Description |
---|
DETAIL
An option which expects both a value and details further describing the value to be specified along with it
|
SIMPLE
An option which acts as a switch (i.
|
VALUE
An option which expects a value to be specified along with it
|
Modifier and Type | Method and Description |
---|---|
static OptionData.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OptionData.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptionData.Type SIMPLE
public static final OptionData.Type VALUE
public static final OptionData.Type DETAIL
public static OptionData.Type[] values()
for (OptionData.Type c : OptionData.Type.values()) System.out.println(c);
public static OptionData.Type 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