public static enum OptFlag.Kind extends java.lang.Enum<OptFlag.Kind>
Enum Constant and Description |
---|
DEBUG |
HELP |
MAIN |
SECRET |
SECRET_HELP |
VERSION |
Modifier and Type | Method and Description |
---|---|
static OptFlag.Kind |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OptFlag.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptFlag.Kind MAIN
public static final OptFlag.Kind DEBUG
public static final OptFlag.Kind VERSION
public static final OptFlag.Kind HELP
public static final OptFlag.Kind SECRET
public static final OptFlag.Kind SECRET_HELP
public static OptFlag.Kind[] values()
for (OptFlag.Kind c : OptFlag.Kind.values()) System.out.println(c);
public static OptFlag.Kind 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