public class TaskActivityBehavior extends AbstractBpmnActivityBehavior
AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.ErrorPropagationException
Modifier and Type | Field and Description |
---|---|
protected String |
activityInstanceId
Activity instance id before execution.
|
LOG
bpmnActivityBehavior
Constructor and Description |
---|
TaskActivityBehavior() |
Modifier and Type | Method and Description |
---|---|
void |
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.
|
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signal, signalCompensationDone
leave, leaveIgnoreConditions
protected String activityInstanceId
protected void preExecution(ActivityExecution execution) throws Exception
execution
- the execution which is used during executionException
protected void performExecution(ActivityExecution execution) throws Exception
execution
- the execution which is used during performing the executionException
protected void postExecution(ActivityExecution execution) throws Exception
execution
- the executionException
public void execute(ActivityExecution execution) throws Exception
FlowNodeActivityBehavior
execute
in interface CoreActivityBehavior<ActivityExecution>
execute
in interface ActivityBehavior
execute
in class FlowNodeActivityBehavior
Exception
Copyright © 2017. All rights reserved.