org.camunda.bpm.engine.impl.bpmn.behavior
Class CallActivityBehavior
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.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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
processDefinitionKey
protected String processDefinitionKey
binding
protected String binding
version
protected Integer version
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)
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.