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.ErrorDeclarationFinder, AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.LeafExecutionHierarchyWalker, AbstractBpmnActivityBehavior.ProcessInstanceCollector
 
Field Summary
protected  Expression expression
           
 
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)
           
 void execute(ActivityExecution execution)
          Default behaviour: just leave the activity with no extra functionality.
protected  ActivityBehavior getActivityBehaviorInstance(ActivityExecution execution, Object delegateInstance)
           
 void signal(ActivityExecution execution, String signalName, Object signalData)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
createCompensateEventSubscription, getCompensationHandler, getCurrentFlowScope, isProcessEngineExceptionWithoutCause, isTransactionNotActive, leave, propagateBpmnError, propagateError, propagateExceptionAsError, signalCompensationDone
 
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leaveIgnoreConditions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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

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

getActivityBehaviorInstance

protected ActivityBehavior getActivityBehaviorInstance(ActivityExecution execution,
                                                       Object delegateInstance)


Copyright © 2015 camunda services GmbH. All rights reserved.