|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ProcessState> com.googlecode.sarasvati.ProcessState
public enum ProcessState
Contains the valid states that a GraphProcess
may have.
Enum Constant Summary | |
---|---|
Canceled
GraphProcess has been canceled. |
|
Completed
GraphProcess has been completed. |
|
Created
GraphProcess has been created, but has not yet been started. |
|
Executing
GraphProcess has been started and contains active tokens, either node tokens or arc tokens or both. |
|
PendingCancel
GraphProcess has been scheduled for cancellation. |
|
PendingCompletion
GraphProcess has no active tokens and is in the process of being completed. |
Method Summary | |
---|---|
static ProcessState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ProcessState[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, 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 ProcessState Created
public static final ProcessState Executing
public static final ProcessState PendingCompletion
public static final ProcessState Completed
public static final ProcessState PendingCancel
public static final ProcessState Canceled
Method Detail |
---|
public static ProcessState[] values()
for (ProcessState c : ProcessState.values()) System.out.println(c);
public static ProcessState 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 null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |