Package org.camunda.bpm.engine.impl.cmd
Class AbstractInstantiationCmd
java.lang.Object
org.camunda.bpm.engine.impl.cmd.AbstractProcessInstanceModificationCommand
org.camunda.bpm.engine.impl.cmd.AbstractInstantiationCmd
- Direct Known Subclasses:
ActivityAfterInstantiationCmd
,ActivityBeforeInstantiationCmd
,TransitionInstantiationCmd
- Author:
- Thorben Lindhauer
-
Field Summary
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractProcessInstanceModificationCommand
externallyTerminated, processInstanceId, skipCustomListeners, skipIoMappings
-
Constructor Summary
ConstructorDescriptionAbstractInstantiationCmd
(String processInstanceId, String ancestorActivityInstanceId) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addVariable
(String name, Object value) void
addVariableLocal
(String name, Object value) void
addVariables
(Map<String, Object> variables) void
addVariablesLocal
(Map<String, Object> variables) execute
(CommandContext commandContext) protected ExecutionEntity
getSingleExecutionForScope
(ActivityExecutionTreeMapping mapping, ScopeImpl scope) protected abstract CoreModelElement
getTargetElement
(ProcessDefinitionImpl processDefinition) protected abstract String
protected abstract ScopeImpl
getTargetFlowScope
(ProcessDefinitionImpl processDefinition) protected void
instantiate
(ExecutionEntity ancestorScopeExecution, List<PvmActivity> parentFlowScopes, CoreModelElement targetElement) protected void
instantiateConcurrent
(ExecutionEntity ancestorScopeExecution, List<PvmActivity> parentFlowScopes, CoreModelElement targetElement) protected boolean
isConcurrentStart
(ActivityStartBehavior startBehavior) protected boolean
supportsConcurrentChildInstantiation
(ScopeImpl flowScope) Cannot create more than inner instance in a sequential MI constructMethods inherited from class org.camunda.bpm.engine.impl.cmd.AbstractProcessInstanceModificationCommand
describe, describeFailure, findActivityInstance, findTransitionInstance, getProcessInstanceId, getScopeExecutionForActivityInstance, getScopeForActivityInstance, matchesRequestedTransitionInstance, setExternallyTerminated, setProcessInstanceId, setSkipCustomListeners, setSkipIoMappings, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
Field Details
-
variables
-
variablesLocal
-
ancestorActivityInstanceId
-
-
Constructor Details
-
AbstractInstantiationCmd
-
-
Method Details
-
addVariable
-
addVariableLocal
-
addVariables
-
addVariablesLocal
-
getVariables
-
getVariablesLocal
-
execute
-
supportsConcurrentChildInstantiation
Cannot create more than inner instance in a sequential MI construct -
getSingleExecutionForScope
protected ExecutionEntity getSingleExecutionForScope(ActivityExecutionTreeMapping mapping, ScopeImpl scope) -
isConcurrentStart
-
instantiate
protected void instantiate(ExecutionEntity ancestorScopeExecution, List<PvmActivity> parentFlowScopes, CoreModelElement targetElement) -
instantiateConcurrent
protected void instantiateConcurrent(ExecutionEntity ancestorScopeExecution, List<PvmActivity> parentFlowScopes, CoreModelElement targetElement) -
getTargetFlowScope
-
getTargetElement
-
getTargetElementId
-