public enum CodeSpecialState extends Enum<CodeSpecialState>
Enum Constant and Description |
---|
BLACKLISTED
The code has been blacklisted
|
INACTIVE
The code is inactive
|
NONE
The code is not in a special state, all is good ;)
|
UNTRAINED
The code has not been trained
|
Modifier and Type | Method and Description |
---|---|
static CodeSpecialState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CodeSpecialState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodeSpecialState NONE
public static final CodeSpecialState INACTIVE
public static final CodeSpecialState UNTRAINED
public static final CodeSpecialState BLACKLISTED
public static CodeSpecialState[] values()
for (CodeSpecialState c : CodeSpecialState.values()) System.out.println(c);
public static CodeSpecialState 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 null