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.CallableElementActivityBehavior
-
- 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
-
-
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
Constructors Constructor Description CallActivityBehavior()
CallActivityBehavior(java.lang.String className)
CallActivityBehavior(Expression expression)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, VariableMap variables, java.lang.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
createCompensateEventSubscription, doLeave, executeWithErrorPropagation, isCompensationEventSubprocess, signal, signalCompensationDone
-
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.behavior.FlowNodeActivityBehavior
leave, leaveIgnoreConditions
-
-
-
-
Constructor Detail
-
CallActivityBehavior
public CallActivityBehavior()
-
CallActivityBehavior
public CallActivityBehavior(java.lang.String className)
-
CallActivityBehavior
public CallActivityBehavior(Expression expression)
-
-
Method Detail
-
startInstance
protected void startInstance(ActivityExecution execution, VariableMap variables, java.lang.String businessKey)
- Specified by:
startInstance
in classCallableElementActivityBehavior
-
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 interfaceMigrationObserverBehavior
-
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 interfaceMigrationObserverBehavior
-
-