org.camunda.bpm.engine.impl.bpmn.behavior
Class ServiceTaskDelegateExpressionActivityBehavior

java.lang.Object
  extended by org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
      extended by org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
          extended by org.camunda.bpm.engine.impl.bpmn.behavior.TaskActivityBehavior
              extended by org.camunda.bpm.engine.impl.bpmn.behavior.ServiceTaskDelegateExpressionActivityBehavior
All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>, ActivityBehavior, SignallableActivityBehavior

public class ServiceTaskDelegateExpressionActivityBehavior
extends TaskActivityBehavior

ActivityBehavior used when 'delegateExpression' is used for a serviceTask.

Author:
Joram Barrez, Josh Long, Slawomir Wojtasiak (Patch for ACT-1159), Falko Menge

Nested Class Summary
 
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.ErrorPropagationException
 
Field Summary
protected  Expression expression
           
protected static BpmnBehaviorLogger LOG
           
 
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
ServiceTaskDelegateExpressionActivityBehavior(Expression expression, List<FieldDeclaration> fieldDeclarations)
           
 
Method Summary
 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)
           
 
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
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, signalCompensationDone
 
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final BpmnBehaviorLogger LOG

expression

protected Expression expression
Constructor Detail

ServiceTaskDelegateExpressionActivityBehavior

public ServiceTaskDelegateExpressionActivityBehavior(Expression expression,
                                                     List<FieldDeclaration> fieldDeclarations)
Method Detail

signal

public void signal(ActivityExecution execution,
                   String signalName,
                   Object signalData)
            throws Exception
Specified by:
signal in interface SignallableActivityBehavior
Overrides:
signal in class AbstractBpmnActivityBehavior
Throws:
Exception

doSignal

public void doSignal(ActivityExecution execution,
                     String signalName,
                     Object signalData)
              throws Exception
Throws:
Exception

performExecution

public void performExecution(ActivityExecution execution)
                      throws Exception
Description copied from class: TaskActivityBehavior
The method which should be overridden by the sub classes to perform an execution.

Overrides:
performExecution in class TaskActivityBehavior
Parameters:
execution - the execution which is used during performing the execution
Throws:
Exception

getActivityBehaviorInstance

protected ActivityBehavior getActivityBehaviorInstance(ActivityExecution execution,
                                                       Object delegateInstance)


Copyright © 2017 camunda services GmbH. All rights reserved.