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
public class EventStartRuleHandler extends EventIntermediateRuleHandler
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 Constructor Description EventStartRuleHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancel(MActivity activity, IInternalAccess instance, ProcessThread thread)
Called when the process thread is aborted and waiting is no longer wanted.void
execute(MActivity activity, IInternalAccess instance, ProcessThread thread)
Execute an activity.-
Methods inherited from class jadex.bpmn.runtime.handler.DefaultActivityHandler
doExecute, getBpmnFeature
-
-
-
-
Method Detail
-
execute
public void execute(MActivity activity, IInternalAccess instance, ProcessThread thread)
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
public void cancel(MActivity activity, IInternalAccess instance, ProcessThread thread)
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.
-
-