Class TaskActivityBehavior
java.lang.Object
org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
org.camunda.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
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
LOG
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(ActivityExecution execution) Default behaviour: just leave the activity with no extra functionality.protected void
performExecution
(ActivityExecution execution) The method which should be overridden by the sub classes to perform an execution.protected void
postExecution
(ActivityExecution execution) The method which will be called after performing the execution.protected void
preExecution
(ActivityExecution execution) The method which will be called before the execution is performed.Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, signal, signalCompensationDone
Methods inherited from class org.camunda.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:FlowNodeActivityBehavior
Default behaviour: just leave the activity with no extra functionality.- Specified by:
execute
in interfaceActivityBehavior
- Specified by:
execute
in interfaceCoreActivityBehavior<ActivityExecution>
- Overrides:
execute
in classFlowNodeActivityBehavior
- Throws:
Exception
-