|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Workflow.Listener
Method Summary | |
---|---|
void |
backward(Workflow.State current,
Workflow.State next)
Event thrown when the pipe moves to a new state in a backward direction. |
void |
finished(Workflow.State last)
Event thrown when workflow is finished. |
void |
forward(Workflow.State current,
Workflow.State prev)
Event thrown when the pipe moves to a new state in the forward direction. |
void |
started(Workflow.State first)
Event thrown when the workflow is started. |
void |
stateFailed(Workflow.State state)
Event thrown when a state can not complete its job. |
void |
statePassed(Workflow.State state)
Event thrown when a state successfully completes its job. |
Method Detail |
---|
void forward(Workflow.State current, Workflow.State prev)
current
- The current state.prev
- The state before the current state.void backward(Workflow.State current, Workflow.State next)
current
- The curent state.next
- The state after the current state.void statePassed(Workflow.State state)
state
- The current state.void stateFailed(Workflow.State state)
state
- The current state.void started(Workflow.State first)
first
- The first state of the pipevoid finished(Workflow.State last)
last
- The last state of the pipe
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |