Package jadex.bpmn.runtime.handler
Class EventStartRuleHandler
java.lang.Object
jadex.bpmn.runtime.handler.DefaultActivityHandler
jadex.bpmn.runtime.handler.EventIntermediateRuleHandler
jadex.bpmn.runtime.handler.EventStartRuleHandler
- All Implemented Interfaces:
IActivityHandler
When a subprocess has a rule start event it needs to be treated
like an intermediate event (i.e. register an event matcher at the process engine).
If its a top level start event, no special treatment is required, as
the macthing is done by the process engine based on the model and the interpreter
is started with the correct activity.
-
Field Summary
Fields inherited from class jadex.bpmn.runtime.handler.DefaultActivityHandler
DEBUG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel
(MActivity activity, jadex.core.IComponent instance, ProcessThread thread) Called when the process thread is aborted and waiting is no longer wanted.void
execute
(MActivity activity, jadex.core.IComponent instance, ProcessThread thread) Execute an activity.Methods inherited from class jadex.bpmn.runtime.handler.DefaultActivityHandler
doExecute, getBpmnFeature
-
Constructor Details
-
EventStartRuleHandler
public EventStartRuleHandler()
-
-
Method Details
-
execute
Execute an activity.- Specified by:
execute
in interfaceIActivityHandler
- Overrides:
execute
in classEventIntermediateRuleHandler
- Parameters:
activity
- The activity to execute.instance
- The process instance.thread
- The process thread.
-
cancel
Called when the process thread is aborted and waiting is no longer wanted.- Specified by:
cancel
in interfaceIActivityHandler
- Overrides:
cancel
in classDefaultActivityHandler
- Parameters:
activity
- The activity to execute.instance
- The process instance.thread
- The process thread.
-