public class DefaultActivityHandler extends java.lang.Object implements IActivityHandler
Modifier and Type | Field and Description |
---|---|
static boolean |
DEBUG
Debug flag for printing.
|
Constructor and Description |
---|
DefaultActivityHandler() |
Modifier and Type | Method and 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.
|
public static final boolean DEBUG
public void execute(MActivity activity, IInternalAccess instance, ProcessThread thread)
execute
in interface IActivityHandler
activity
- The activity to execute.instance
- The process instance.thread
- The process thread.public void cancel(MActivity activity, IInternalAccess instance, ProcessThread thread)
cancel
in interface IActivityHandler
activity
- The activity to execute.instance
- The process instance.thread
- The process thread.info
- The info object.protected void doExecute(MActivity activity, IInternalAccess instance, ProcessThread thread)
activity
- The activity to execute.instance
- The process instance.thread
- The process thread.public static IInternalBpmnComponentFeature getBpmnFeature(IInternalAccess instance)