public interface State
extends java.io.Serializable
Stateful
job. Oddjob uses the set of
conditions of a state to decide what actions to allow and also
what state to reflect up the hierarchy.Modifier and Type | Method and Description |
---|---|
boolean |
isComplete()
Is a job or service complete?
|
boolean |
isDestroyed()
The job is destroyed.
|
boolean |
isException()
Is a job in an exception state.
|
boolean |
isExecuting()
Is the job executing.
|
boolean |
isIncomplete()
Is a job or service incomplete.
|
boolean |
isReady()
Is a job ready to be executed.
|
boolean |
isStoppable()
Can a job be stopped? This is a catch all for jobs
that are active or executing.
|
boolean isReady()
boolean isExecuting()
boolean isStoppable()
boolean isComplete()
boolean isIncomplete()
boolean isException()
boolean isDestroyed()