Package jadex.bpmn.runtime.handler
Class DefaultActivityHandler
- java.lang.Object
-
- jadex.bpmn.runtime.handler.DefaultActivityHandler
-
- All Implemented Interfaces:
IActivityHandler
- Direct Known Subclasses:
AbstractEventIntermediateTimerActivityHandler
,EventEndErrorActivityHandler
,EventEndSignalActivityHandler
,EventEndTerminateActivityHandler
,EventIntermediateErrorActivityHandler
,EventIntermediateMessageActivityHandler
,EventIntermediateMultipleActivityHandler
,EventIntermediateNotificationHandler
,EventIntermediateRuleHandler
,SubProcessActivityHandler
,TaskActivityHandler
,UserInteractionActivityHandler
public class DefaultActivityHandler extends java.lang.Object implements IActivityHandler
Default activity handler, which provides some useful helper methods.
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
DEBUG
Debug flag for printing.
-
Constructor Summary
Constructors Constructor Description DefaultActivityHandler()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancel(MActivity activity, IInternalAccess instance, ProcessThread thread)
Execute an activity.protected void
doExecute(MActivity activity, IInternalAccess instance, ProcessThread thread)
Execute an activity.void
execute(MActivity activity, IInternalAccess instance, ProcessThread thread)
Execute an activity.static IInternalBpmnComponentFeature
getBpmnFeature(IInternalAccess instance)
Get the internal bpmn feature from internal access.
-
-
-
Field Detail
-
DEBUG
public static final boolean DEBUG
Debug flag for printing.- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
public void execute(MActivity activity, IInternalAccess instance, ProcessThread thread)
Execute an activity.- Specified by:
execute
in interfaceIActivityHandler
- Parameters:
activity
- The activity to execute.instance
- The process instance.thread
- The process thread.
-
cancel
public void cancel(MActivity activity, IInternalAccess instance, ProcessThread thread)
Execute an activity.- Specified by:
cancel
in interfaceIActivityHandler
- Parameters:
activity
- The activity to execute.instance
- The process instance.thread
- The process thread.info
- The info object.
-
doExecute
protected void doExecute(MActivity activity, IInternalAccess instance, ProcessThread thread)
Execute an activity. Empty default implementation.- Parameters:
activity
- The activity to execute.instance
- The process instance.thread
- The process thread.
-
getBpmnFeature
public static IInternalBpmnComponentFeature getBpmnFeature(IInternalAccess instance)
Get the internal bpmn feature from internal access.
-
-