public class ServiceTaskDelegateExpressionActivityBehavior extends TaskActivityBehavior
ActivityBehavior
used when 'delegateExpression' is used
for a serviceTask.AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.ErrorPropagationException
Modifier and Type | Field and Description |
---|---|
protected Expression |
expression |
protected static BpmnBehaviorLogger |
LOG |
activityInstanceId
bpmnActivityBehavior
Constructor and Description |
---|
ServiceTaskDelegateExpressionActivityBehavior(Expression expression,
List<FieldDeclaration> fieldDeclarations) |
Modifier and Type | Method and Description |
---|---|
void |
doSignal(ActivityExecution execution,
String signalName,
Object signalData) |
protected ActivityBehavior |
getActivityBehaviorInstance(ActivityExecution execution,
Object delegateInstance) |
void |
performExecution(ActivityExecution execution)
The method which should be overridden by the sub classes to perform an execution.
|
void |
signal(ActivityExecution execution,
String signalName,
Object signalData) |
execute, postExecution, preExecution
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signalCompensationDone
leave, leaveIgnoreConditions
protected static final BpmnBehaviorLogger LOG
protected Expression expression
public ServiceTaskDelegateExpressionActivityBehavior(Expression expression, List<FieldDeclaration> fieldDeclarations)
public void signal(ActivityExecution execution, String signalName, Object signalData) throws Exception
signal
in interface SignallableActivityBehavior
signal
in class AbstractBpmnActivityBehavior
Exception
public void doSignal(ActivityExecution execution, String signalName, Object signalData) throws Exception
Exception
public void performExecution(ActivityExecution execution) throws Exception
TaskActivityBehavior
performExecution
in class TaskActivityBehavior
execution
- the execution which is used during performing the executionException
protected ActivityBehavior getActivityBehaviorInstance(ActivityExecution execution, Object delegateInstance)
Copyright © 2017. All rights reserved.