Class ServiceTaskDelegateExpressionActivityBehavior
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
org.camunda.bpm.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior
- All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>
,ActivityBehavior
,SignallableActivityBehavior
ActivityBehavior
used when 'delegateExpression' is used
for a serviceTask.- Author:
- Joram Barrez, Josh Long, Slawomir Wojtasiak (Patch for ACT-1159), Falko Menge
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior
activityInstanceId
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
-
Constructor Summary
ConstructorDescriptionServiceTaskDelegateExpressionActivityBehavior
(Expression expression, List<FieldDeclaration> fieldDeclarations) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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) Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior
execute, postExecution, preExecution
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, signalCompensationDone
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions
-
Field Details
-
LOG
-
expression
-
-
Constructor Details
-
ServiceTaskDelegateExpressionActivityBehavior
public ServiceTaskDelegateExpressionActivityBehavior(Expression expression, List<FieldDeclaration> fieldDeclarations)
-
-
Method Details
-
signal
public void signal(ActivityExecution execution, String signalName, Object signalData) throws Exception - Specified by:
signal
in interfaceSignallableActivityBehavior
- Overrides:
signal
in classAbstractBpmnActivityBehavior
- Throws:
Exception
-
doSignal
public void doSignal(ActivityExecution execution, String signalName, Object signalData) throws Exception - Throws:
Exception
-
performExecution
Description copied from class:TaskActivityBehavior
The method which should be overridden by the sub classes to perform an execution.- Overrides:
performExecution
in classTaskActivityBehavior
- Parameters:
execution
- the execution which is used during performing the execution- Throws:
Exception
-
getActivityBehaviorInstance
protected ActivityBehavior getActivityBehaviorInstance(ActivityExecution execution, Object delegateInstance)
-