|
|||||||||
| Home >> All >> org >> apache >> lenya >> [ workflow overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.apache.lenya.workflow
Interface Transition

- public interface Transition
A transition describes the switching of a workflow instance from one state to another. A transition has
- a source state,
- a destination state,
- an event,
- a set of conditions,
- a set of assignments.
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 |
getEvent
public Event getEvent()
- Returns the event of this transition.
getActions
public Action[] getActions()
- Returns the actions of this transition.
canFire
public boolean canFire(Situation situation, WorkflowInstance instance) throws WorkflowException
- Returns if the transition can fire in a certain situation.
isSynchronized
public boolean isSynchronized()
- Returns if this transition is synchronized.
|
|||||||||
| Home >> All >> org >> apache >> lenya >> [ workflow overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC