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
ConstructorDescriptionCallActivityBehavior
(String className) CallActivityBehavior
(Expression expression) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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, 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 Details
-
CallActivityBehavior
public CallActivityBehavior() -
CallActivityBehavior
-
CallActivityBehavior
-
-
Method Details
-
startInstance
protected void startInstance(ActivityExecution execution, VariableMap variables, String businessKey) - Specified by:
startInstance
in classCallableElementActivityBehavior
-
migrateScope
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
-