public static enum StudyResult.StudyState extends java.lang.Enum<StudyResult.StudyState>
Enum Constant and Description |
---|
ABORTED |
DATA_RETRIEVED |
FAIL |
FINISHED |
PRE |
STARTED |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
allStatesAsString() |
static StudyResult.StudyState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StudyResult.StudyState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StudyResult.StudyState PRE
public static final StudyResult.StudyState STARTED
public static final StudyResult.StudyState DATA_RETRIEVED
public static final StudyResult.StudyState FINISHED
public static final StudyResult.StudyState ABORTED
public static final StudyResult.StudyState FAIL
public static StudyResult.StudyState[] values()
for (StudyResult.StudyState c : StudyResult.StudyState.values()) System.out.println(c);
public static StudyResult.StudyState 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 nullpublic static java.lang.String allStatesAsString()