|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface State
The state of a 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.
| Method Summary | |
|---|---|
boolean |
isComplete()
Is a job or service complete? |
boolean |
isDestroyed()
The job is destroyed. |
boolean |
isException()
Is a job in an exception state. |
boolean |
isIncomplete()
Is a job or service incomplete. |
boolean |
isPassable()
Can a state be passed over to enable it's siblings to be executed. |
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. |
| Method Detail |
|---|
boolean isReady()
boolean isStoppable()
boolean isPassable()
boolean isComplete()
boolean isIncomplete()
boolean isException()
boolean isDestroyed()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||