Class TaskActivityBehavior
java.lang.Object
org.operaton.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
org.operaton.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
org.operaton.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior
- All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>,ActivityBehavior,SignallableActivityBehavior
- Direct Known Subclasses:
ManualTaskActivityBehavior,ReceiveTaskActivityBehavior,ScriptTaskActivityBehavior,ServiceTaskConnectorActivityBehavior,ServiceTaskDelegateExpressionActivityBehavior,ServiceTaskExpressionActivityBehavior,ServiceTaskJavaDelegateActivityBehavior,UserTaskActivityBehavior
Parent class for all BPMN 2.0 task types such as ServiceTask, ScriptTask, UserTask, etc.
When used on its own, it behaves just as a pass-through activity.
- Author:
- Joram Barrez
-
Field Summary
FieldsFields inherited from class org.operaton.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
LOGFields inherited from class org.operaton.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(ActivityExecution execution) Default behaviour: just leave the activity with no extra functionality.protected voidperformExecution(ActivityExecution execution) The method which should be overridden by the sub classes to perform an execution.protected voidpostExecution(ActivityExecution execution) The method which will be called after performing the execution.protected voidpreExecution(ActivityExecution execution) The method which will be called before the execution is performed.Methods inherited from class org.operaton.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, signal, signalCompensationDoneMethods inherited from class org.operaton.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions
-
Field Details
-
activityInstanceId
Activity instance id before execution.
-
-
Constructor Details
-
TaskActivityBehavior
public TaskActivityBehavior()
-
-
Method Details
-
preExecution
The method which will be called before the execution is performed.- Parameters:
execution- the execution which is used during execution- Throws:
Exception
-
performExecution
The method which should be overridden by the sub classes to perform an execution.- Parameters:
execution- the execution which is used during performing the execution- Throws:
Exception
-
postExecution
The method which will be called after performing the execution.- Parameters:
execution- the execution- Throws:
Exception
-
execute
Description copied from class:FlowNodeActivityBehaviorDefault behaviour: just leave the activity with no extra functionality.- Specified by:
executein interfaceActivityBehavior- Specified by:
executein interfaceCoreActivityBehavior<ActivityExecution>- Overrides:
executein classFlowNodeActivityBehavior- Throws:
Exception
-