|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
java.lang.Objectjava.lang.Enum<StateConditions>
org.oddjob.state.StateConditions
public enum StateConditions
These are drop in replacements for jobs that used to use
a JobStates for conditions.
| Nested Class Summary | |
|---|---|
static class |
StateConditions.Conversions
|
| Enum Constant Summary | |
|---|---|
COMPLETE
Is a job complete? |
|
DESTROYED
The job has been destroyed. |
|
EXCEPTION
Is a job in an exception state? |
|
EXECUTING
Is a job executing or otherwise active? |
|
INCOMPLETE
Is a job incomplete? |
|
READY
Is a job ready? |
|
| Method Summary | |
|---|---|
static StateConditions |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static StateConditions[] |
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.StateCondition |
|---|
test |
| Enum Constant Detail |
|---|
public static final StateConditions READY
public static final StateConditions EXECUTING
public static final StateConditions INCOMPLETE
public static final StateConditions COMPLETE
public static final StateConditions EXCEPTION
public static final StateConditions DESTROYED
| Method Detail |
|---|
public static StateConditions[] values()
for (StateConditions c : StateConditions.values()) System.out.println(c);
public static StateConditions 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 | |||||||