Package jadex.bpmn.runtime.handler
Class AbstractEventIntermediateTimerActivityHandler
- java.lang.Object
-
- jadex.bpmn.runtime.handler.DefaultActivityHandler
-
- jadex.bpmn.runtime.handler.AbstractEventIntermediateTimerActivityHandler
-
- All Implemented Interfaces:
IActivityHandler
- Direct Known Subclasses:
EventIntermediateTimerActivityHandler
public abstract class AbstractEventIntermediateTimerActivityHandler extends DefaultActivityHandler
Abstract handler for timing events. Can be subclassed by platform-specific implementations.
-
-
Field Summary
Fields Modifier and Type Field Description static int
TICK_TIMER
static java.lang.String
TIMER_EVENT
-
Fields inherited from class jadex.bpmn.runtime.handler.DefaultActivityHandler
DEBUG
-
-
Constructor Summary
Constructors Constructor Description AbstractEventIntermediateTimerActivityHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method 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.-
Methods inherited from class jadex.bpmn.runtime.handler.DefaultActivityHandler
doExecute, getBpmnFeature
-
-
-
-
Field Detail
-
TICK_TIMER
public static final int TICK_TIMER
- See Also:
- Constant Field Values
-
TIMER_EVENT
public static final java.lang.String TIMER_EVENT
- 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
- Overrides:
execute
in classDefaultActivityHandler
- Parameters:
activity
- The activity to execute.instance
- The process instance.thread
- The process thread.
-
doWait
public abstract void doWait(MActivity activity, IInternalAccess instance, ProcessThread thread, long duration)
Template method to be implemented by platform-specific subclasses.- Parameters:
activity
- The timing event activity.instance
- The process instance.thread
- The process thread.duration
- The duration to wait.
-
cancel
public void cancel(MActivity activity, IInternalAccess instance, ProcessThread thread)
Execute an activity.- Specified by:
cancel
in interfaceIActivityHandler
- Overrides:
cancel
in classDefaultActivityHandler
- Parameters:
activity
- The activity to execute.instance
- The process instance.thread
- The process thread.info
- The info object.
-
-