Enum Constant and Description |
---|
COMPLETE
Is a job or service complete?
|
DESTROYED
The job is destroyed.
|
EXCEPTION
Is a job in an exception state.
|
EXECUTING
Is the job executing.
|
INCOMPLETE
Is a job or service incomplete.
|
READY
Is a job ready to be executed.
|
STOPPABLE
Can a job be stopped? This is a catch all for jobs
that are active or executing.
|
Modifier and Type | Method and Description |
---|---|
static StateFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StateFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StateFlag READY
public static final StateFlag EXECUTING
public static final StateFlag STOPPABLE
public static final StateFlag COMPLETE
public static final StateFlag INCOMPLETE
public static final StateFlag EXCEPTION
public static final StateFlag DESTROYED
public static StateFlag[] values()
for (StateFlag c : StateFlag.values()) System.out.println(c);
public static StateFlag 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