|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ParentState>
org.oddjob.state.ParentState
public enum ParentState
Encapsulate the allowed states for a Structural
.
Enum Constant Summary | |
---|---|
ACTIVE
Indicates that child jobs are active. |
|
COMPLETE
Indicates job has completed. |
|
DESTROYED
The job has been destroyed. |
|
EXCEPTION
Indicates an exception has occurred. |
|
EXECUTING
Indicates the job is executing, which normally means it's in the process of executing it's children. |
|
INCOMPLETE
Indicates the job is not complete. |
|
READY
The job is ready to be executing. |
|
STARTED
Indicates that child jobs are active. |
Method Summary | |
---|---|
static ParentState |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ParentState[] |
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 |
Methods inherited from interface org.oddjob.state.State |
---|
isComplete, isDestroyed, isDone, isException, isIncomplete, isReady, isStoppable |
Enum Constant Detail |
---|
public static final ParentState READY
public static final ParentState EXECUTING
public static final ParentState ACTIVE
public static final ParentState STARTED
public static final ParentState INCOMPLETE
StateOperator
it
uses.
public static final ParentState COMPLETE
StateOperator
it
uses.
public static final ParentState EXCEPTION
StateOperator
it
uses.
public static final ParentState DESTROYED
Method Detail |
---|
public static ParentState[] values()
for (ParentState c : ParentState.values()) System.out.println(c);
public static ParentState 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 |