Enum Constant and Description |
---|
INIT |
UNDEFINED |
UNKNOWN |
UNSET |
VALID |
Modifier and Type | Method and Description |
---|---|
static VarState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VarState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VarState INIT
public static final VarState UNKNOWN
public static final VarState VALID
public static final VarState UNSET
public static final VarState UNDEFINED
public static VarState[] values()
for (VarState c : VarState.values()) System.out.println(c);
public static VarState 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