public enum ParentState extends java.lang.Enum<ParentState> implements State
Structural
.Enum Constant and Description |
---|
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 stoppable but done.
|
Modifier and Type | Method and Description |
---|---|
static ParentState |
valueOf(java.lang.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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
isComplete, isDestroyed, isException, isExecuting, isIncomplete, isReady, isStoppable
public static final ParentState READY
public static final ParentState EXECUTING
public static final ParentState ACTIVE
public static final ParentState STARTED
ServiceState
s. This state differs from
ACTIVE
in that it will cause the next sibling to execute
in a CascadeJob
.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
public static ParentState[] values()
for (ParentState c : ParentState.values()) System.out.println(c);
public static ParentState 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 null