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

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.CallActivityBehavior
All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>, ActivityBehavior, SignallableActivityBehavior, SubProcessActivityBehavior

public class CallActivityBehavior
extends AbstractBpmnActivityBehavior
implements SubProcessActivityBehavior

Implementation of the BPMN 2.0 call activity (limited currently to calling a subprocess and not (yet) a global task).

Author:
Joram Barrez

Nested Class Summary
static class CallActivityBehavior.CalledElementBinding
           
 
Field Summary
protected  String binding
           
protected  String processDefinitionKey
           
protected  Integer version
           
 
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
multiInstanceActivityBehavior
 
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
 
Constructor Summary
CallActivityBehavior(Expression processDefinitionExpression)
           
CallActivityBehavior(Expression processDefinitionExpression, String binding, Integer version)
           
CallActivityBehavior(String processDefinitionKey)
           
CallActivityBehavior(String processDefinitionKey, String binding, Integer version)
           
 
Method Summary
 void addDataInputAssociation(DataAssociation dataInputAssociation)
           
 void addDataOutputAssociation(DataAssociation dataOutputAssociation)
           
 void completed(ActivityExecution execution)
          called after the process instance is destroyed for this activity to perform its outgoing control flow logic.
 void completing(DelegateExecution execution, DelegateExecution subProcessInstance)
          called before the process instance is destroyed to allow this activity to extract data from the sub process instance.
 void execute(ActivityExecution execution)
          Default behaviour: just leave the activity with no extra functionality.
 
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
createCompensateEventSubscription, getMultiInstanceActivityBehavior, hasCompensationHandler, hasLoopCharacteristics, hasMultiInstanceCharacteristics, leave, setMultiInstanceActivityBehavior, signal, 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

processDefinitionKey

protected String processDefinitionKey

binding

protected String binding

version

protected Integer version
Constructor Detail

CallActivityBehavior

public CallActivityBehavior(String processDefinitionKey)

CallActivityBehavior

public CallActivityBehavior(Expression processDefinitionExpression)

CallActivityBehavior

public CallActivityBehavior(String processDefinitionKey,
                            String binding,
                            Integer version)

CallActivityBehavior

public CallActivityBehavior(Expression processDefinitionExpression,
                            String binding,
                            Integer version)
Method Detail

addDataInputAssociation

public void addDataInputAssociation(DataAssociation dataInputAssociation)

addDataOutputAssociation

public void addDataOutputAssociation(DataAssociation dataOutputAssociation)

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

completing

public void completing(DelegateExecution execution,
                       DelegateExecution subProcessInstance)
                throws Exception
Description copied from interface: SubProcessActivityBehavior
called before the process instance is destroyed to allow this activity to extract data from the sub process instance. No control flow should be done on the execution yet.

Specified by:
completing in interface SubProcessActivityBehavior
Throws:
Exception

completed

public void completed(ActivityExecution execution)
               throws Exception
Description copied from interface: SubProcessActivityBehavior
called after the process instance is destroyed for this activity to perform its outgoing control flow logic.

Specified by:
completed in interface SubProcessActivityBehavior
Throws:
Exception


Copyright © 2014 camunda services GmbH. All rights reserved.