public abstract class AbstractEventIntermediateTimerActivityHandler extends DefaultActivityHandler
Modifier and Type | Field and Description |
---|---|
static int |
TICK_TIMER |
static java.lang.String |
TIMER_EVENT |
DEBUG
Constructor and Description |
---|
AbstractEventIntermediateTimerActivityHandler() |
Modifier and Type | Method and Description |
---|---|
void |
cancel(MActivity activity,
IInternalAccess instance,
ProcessThread thread)
Execute an activity.
|
abstract void |
doWait(MActivity activity,
IInternalAccess instance,
ProcessThread thread,
long duration)
Template method to be implemented by platform-specific subclasses.
|
void |
execute(MActivity activity,
IInternalAccess instance,
ProcessThread thread)
Execute an activity.
|
doExecute, getBpmnFeature
public static final int TICK_TIMER
public static final java.lang.String TIMER_EVENT
public AbstractEventIntermediateTimerActivityHandler()
public void execute(MActivity activity, IInternalAccess instance, ProcessThread thread)
execute
in interface IActivityHandler
execute
in class DefaultActivityHandler
activity
- The activity to execute.instance
- The process instance.thread
- The process thread.public abstract void doWait(MActivity activity, IInternalAccess instance, ProcessThread thread, long duration)
activity
- The timing event activity.instance
- The process instance.thread
- The process thread.duration
- The duration to wait.public void cancel(MActivity activity, IInternalAccess instance, ProcessThread thread)
cancel
in interface IActivityHandler
cancel
in class DefaultActivityHandler
activity
- The activity to execute.instance
- The process instance.thread
- The process thread.info
- The info object.