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
Abstract handler for timing events.
Can be subclassed by platform-specific implementations.
-
Field Summary
FieldsFields inherited from class jadex.bpmn.runtime.handler.DefaultActivityHandler
DEBUG
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel
(MActivity activity, jadex.core.IComponent instance, ProcessThread thread) Execute an activity.abstract void
doWait
(MActivity activity, jadex.core.IComponent instance, ProcessThread thread, long duration) Template method to be implemented by platform-specific subclasses.void
execute
(MActivity activity, jadex.core.IComponent instance, ProcessThread thread) Execute an activity.Methods inherited from class jadex.bpmn.runtime.handler.DefaultActivityHandler
doExecute, getBpmnFeature
-
Field Details
-
TICK_TIMER
public static final int TICK_TIMER- See Also:
-
TIMER_EVENT
- See Also:
-
-
Constructor Details
-
AbstractEventIntermediateTimerActivityHandler
public AbstractEventIntermediateTimerActivityHandler()
-
-
Method Details
-
execute
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, jadex.core.IComponent 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
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.
-