|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Activity
piece of Java code that is to be included in a process as the runtime node behaviour or as a hidden listener to process events.
Method Summary | |
---|---|
void |
execute(ActivityExecution execution)
piece of Java code that is to be included in a process as node behaviour or as a hidden listener to process events. |
Method Detail |
---|
void execute(ActivityExecution execution) throws java.lang.Exception
Activities can be used to implement the behaviour of nodes, in which case this behaviour is associated to a graphical node in the diagram, or they can be added as events, in that case, they are being hidden from the diagram.
If an activity is the node behaviour, then it can control the propagation
of execution. Node behaviours can be external activities. That means their
runtime behaviour is a wait state. In that case, ExternalActivity
should be implemented to also handle the external triggers.
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |