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.DefaultActivityHandlerDEBUG
 
- 
 - 
Constructor SummaryConstructors Constructor Description EventStartRuleHandler()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancel(jadex.bpmn.model.MActivity activity, IInternalAccess instance, ProcessThread thread)Called when the process thread is aborted and waiting is no longer wanted.voidexecute(jadex.bpmn.model.MActivity activity, IInternalAccess instance, ProcessThread thread)Execute an activity.- 
Methods inherited from class jadex.bpmn.runtime.handler.DefaultActivityHandlerdoExecute, getBpmnFeature
 
- 
 
- 
- 
- 
Method Detail- 
executepublic void execute(jadex.bpmn.model.MActivity activity, IInternalAccess instance, ProcessThread thread)Execute an activity.- Specified by:
- executein interface- IActivityHandler
- Overrides:
- executein class- EventIntermediateRuleHandler
- Parameters:
- activity- The activity to execute.
- instance- The process instance.
- thread- The process thread.
 
 - 
cancelpublic void cancel(jadex.bpmn.model.MActivity activity, IInternalAccess instance, ProcessThread thread)Called when the process thread is aborted and waiting is no longer wanted.- Specified by:
- cancelin interface- IActivityHandler
- Overrides:
- cancelin class- DefaultActivityHandler
- Parameters:
- activity- The activity to execute.
- instance- The process instance.
- thread- The process thread.
 
 
- 
 
-