|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ExperimentExecutionState>
cz.cuni.pogamut.experiments.ExperimentExecutionState
public enum ExperimentExecutionState
Enum of all possible states of experiment.
| Enum Constant Summary | |
|---|---|
FAILED
Experiment failed due to error. |
|
FINISHED
Experiment was unregistered from the world. |
|
FINISHING
Terminating the experiment (flushing logs, disconecting bots etc.) |
|
INIT
Experiment was created |
|
PAUSED
Experiment has been paused, maybe due to perforamnce reasons. |
|
RUNNING
Experiment is running in the world. |
|
| Field Summary | |
|---|---|
protected static java.util.EnumSet<ExperimentExecutionState> |
runningSet
|
protected static java.util.EnumSet<ExperimentExecutionState> |
terminalSet
|
| Method Summary | |
|---|---|
boolean |
isEndState()
|
boolean |
isRunning()
|
static ExperimentExecutionState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ExperimentExecutionState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ExperimentExecutionState INIT
public static final ExperimentExecutionState RUNNING
public static final ExperimentExecutionState FINISHING
public static final ExperimentExecutionState PAUSED
public static final ExperimentExecutionState FINISHED
public static final ExperimentExecutionState FAILED
| Field Detail |
|---|
protected static final java.util.EnumSet<ExperimentExecutionState> terminalSet
protected static final java.util.EnumSet<ExperimentExecutionState> runningSet
| Method Detail |
|---|
public static ExperimentExecutionState[] values()
for (ExperimentExecutionState c : ExperimentExecutionState.values()) System.out.println(c);
public static ExperimentExecutionState 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 name
java.lang.NullPointerException - if the argument is nullpublic boolean isEndState()
public boolean isRunning()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||