public static enum OptionElement.Kind extends Enum<OptionElement.Kind>
Enum Constant and Description |
---|
BOOLEAN |
ENUM |
LIST |
MAP |
NUMBER |
OPTION |
STRING |
Modifier and Type | Method and Description |
---|---|
static OptionElement.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OptionElement.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptionElement.Kind STRING
public static final OptionElement.Kind BOOLEAN
public static final OptionElement.Kind NUMBER
public static final OptionElement.Kind ENUM
public static final OptionElement.Kind MAP
public static final OptionElement.Kind LIST
public static final OptionElement.Kind OPTION
public static OptionElement.Kind[] values()
for (OptionElement.Kind c : OptionElement.Kind.values()) System.out.println(c);
public static OptionElement.Kind valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2013–2016 Square, Inc.. All rights reserved.