|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface Transition
A transition describes the switching of a workflow instance from one state to another. A transition has
Additionally, a transition can be marked as synchronized.
| Method Summary | |
|---|---|
boolean |
canFire(Situation situation,
WorkflowInstance instance)
Returns if the transition can fire in a certain situation. |
Action[] |
getActions()
Returns the actions of this transition. |
Event |
getEvent()
Returns the event of this transition. |
boolean |
isSynchronized()
Returns if this transition is synchronized. |
| Method Detail |
|---|
Event getEvent()
Action[] getActions()
boolean canFire(Situation situation,
WorkflowInstance instance)
throws WorkflowException
situation - the situation for which the query is requested.instance - The workflow instance to invoke the transition on.
WorkflowException - when an error occurs.boolean isSynchronized()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||