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.CallableElementActivityBehavior
              extended by org.camunda.bpm.engine.impl.bpmn.behavior.CallActivityBehavior
All Implemented Interfaces:
CoreActivityBehavior<ActivityExecution>, ActivityBehavior, MigrationObserverBehavior, SignallableActivityBehavior, SubProcessActivityBehavior

public class CallActivityBehavior
extends CallableElementActivityBehavior
implements MigrationObserverBehavior

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

Author:
Joram Barrez, Roman Smirnov

Nested Class Summary
 
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
AbstractBpmnActivityBehavior.ErrorDeclarationForProcessInstanceFinder, AbstractBpmnActivityBehavior.ErrorPropagationException
 
Field Summary
 
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.CallableElementActivityBehavior
callableElement, className, expression, variablesFilter
 
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
LOG
 
Fields inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
bpmnActivityBehavior
 
Constructor Summary
CallActivityBehavior()
           
CallActivityBehavior(Expression expression)
           
CallActivityBehavior(String className)
           
 
Method Summary
 void migrateScope(ActivityExecution scopeExecution)
          Implement to perform activity-specific migration behavior that is not covered by the regular migration procedure.
 void onParseMigratingInstance(MigratingInstanceParseContext parseContext, MigratingActivityInstance migratingInstance)
          Callback to implement behavior specific parsing (e.g.
protected  void startInstance(ActivityExecution execution, org.camunda.bpm.engine.variable.VariableMap variables, String businessKey)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.CallableElementActivityBehavior
completed, execute, filterVariables, getBinding, getBusinessKey, getCallableElement, getDelegateVariableMapping, getDeploymentId, getInputVariables, getOutputVariables, getOutputVariablesLocal, getVersion, instantiateDelegateClass, invokeVarMappingDelegation, isDeploymentBinding, isLatestBinding, isVersionBinding, passOutputVariables, resolveDelegateClass, resolveDelegation, setCallableElement
 
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.AbstractBpmnActivityBehavior
checkIfCauseOfExceptionIsBpmnError, createCompensateEventSubscription, executeWithErrorPropagation, isCompensationEventSubprocess, isProcessEngineExceptionWithoutCause, isTransactionNotActive, leave, propagateBpmnError, propagateError, propagateException, propagateExceptionAsError, 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
 

Constructor Detail

CallActivityBehavior

public CallActivityBehavior()

CallActivityBehavior

public CallActivityBehavior(String className)

CallActivityBehavior

public CallActivityBehavior(Expression expression)
Method Detail

startInstance

protected void startInstance(ActivityExecution execution,
                             org.camunda.bpm.engine.variable.VariableMap variables,
                             String businessKey)
Specified by:
startInstance in class CallableElementActivityBehavior

migrateScope

public void migrateScope(ActivityExecution scopeExecution)
Description copied from interface: MigrationObserverBehavior
Implement to perform activity-specific migration behavior that is not covered by the regular migration procedure. Called after the scope execution and any ancestor executions have been migrated to their target activities and process definition.

Specified by:
migrateScope in interface MigrationObserverBehavior

onParseMigratingInstance

public void onParseMigratingInstance(MigratingInstanceParseContext parseContext,
                                     MigratingActivityInstance migratingInstance)
Description copied from interface: MigrationObserverBehavior
Callback to implement behavior specific parsing (e.g. adding additional dependent entities).

Specified by:
onParseMigratingInstance in interface MigrationObserverBehavior


Copyright © 2016 camunda services GmbH. All rights reserved.