org.camunda.bpm.engine.impl.bpmn.behavior
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, ServiceTaskDelegateExpressionActivityBehavior, ServiceTaskExpressionActivityBehavior, ServiceTaskJavaDelegateActivityBehavior, UserTaskActivityBehavior
public class TaskActivityBehavior
- extends AbstractBpmnActivityBehavior
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
| Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior |
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signal, signalCompensationDone |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
activityInstanceId
protected String activityInstanceId
- Activity instance id before execution.
TaskActivityBehavior
public TaskActivityBehavior()
preExecution
protected void preExecution(ActivityExecution execution)
throws Exception
- The method which will be called before the execution is performed.
- Parameters:
execution - the execution which is used during execution
- Throws:
Exception
performExecution
protected void performExecution(ActivityExecution execution)
throws Exception
- 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
protected void postExecution(ActivityExecution execution)
throws Exception
- The method which will be called after performing the execution.
- Parameters:
execution - the execution
- Throws:
Exception
execute
public void execute(ActivityExecution execution)
throws Exception
- Description copied from class:
FlowNodeActivityBehavior
- Default behaviour: just leave the activity with no extra functionality.
- Specified by:
execute in interface CoreActivityBehavior<ActivityExecution>- Specified by:
execute in interface ActivityBehavior- Overrides:
execute in class FlowNodeActivityBehavior
- Throws:
Exception
Copyright © 2017 camunda services GmbH. All rights reserved.