|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ResultStatus>
de.cau.cs.kieler.sim.kiem.automated.data.ResultStatus
public enum ResultStatus
This enumeration contains the different states that an execution can be in from the point of view of the iteration result.
Enum Constant Summary | |
---|---|
ABORTED
The execution was canceled by the user. |
|
CREATED
The execution was just created. |
|
DONE
The execution is finished. |
|
ERROR
The execution was aborted due to an error. |
|
RUNNING
The execution is running. |
Method Summary | |
---|---|
static String |
labelOf(ResultStatus status)
Get a readable String for the given status. |
static ResultStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ResultStatus[] |
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 ResultStatus CREATED
public static final ResultStatus RUNNING
public static final ResultStatus DONE
public static final ResultStatus ERROR
public static final ResultStatus ABORTED
Method Detail |
---|
public static ResultStatus[] values()
for (ResultStatus c : ResultStatus.values()) System.out.println(c);
public static ResultStatus valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static String labelOf(ResultStatus status)
status
- the status
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |