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
public abstract class AbstractInstantiationCmd extends AbstractProcessInstanceModificationCommand
- Author:
- Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description protected String
ancestorActivityInstanceId
protected VariableMap
variables
protected VariableMap
variablesLocal
-
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractProcessInstanceModificationCommand
externallyTerminated, processInstanceId, skipCustomListeners, skipIoMappings
-
-
Constructor Summary
Constructors Constructor Description AbstractInstantiationCmd(String processInstanceId, String ancestorActivityInstanceId)
-
Method Summary
-
Methods 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 Detail
-
variables
protected VariableMap variables
-
variablesLocal
protected VariableMap variablesLocal
-
ancestorActivityInstanceId
protected String ancestorActivityInstanceId
-
-
Method Detail
-
getVariables
public VariableMap getVariables()
-
getVariablesLocal
public VariableMap getVariablesLocal()
-
execute
public Void execute(CommandContext commandContext)
-
supportsConcurrentChildInstantiation
protected boolean supportsConcurrentChildInstantiation(ScopeImpl flowScope)
Cannot create more than inner instance in a sequential MI construct
-
getSingleExecutionForScope
protected ExecutionEntity getSingleExecutionForScope(ActivityExecutionTreeMapping mapping, ScopeImpl scope)
-
isConcurrentStart
protected boolean isConcurrentStart(ActivityStartBehavior startBehavior)
-
instantiate
protected void instantiate(ExecutionEntity ancestorScopeExecution, List<PvmActivity> parentFlowScopes, CoreModelElement targetElement)
-
instantiateConcurrent
protected void instantiateConcurrent(ExecutionEntity ancestorScopeExecution, List<PvmActivity> parentFlowScopes, CoreModelElement targetElement)
-
getTargetFlowScope
protected abstract ScopeImpl getTargetFlowScope(ProcessDefinitionImpl processDefinition)
-
getTargetElement
protected abstract CoreModelElement getTargetElement(ProcessDefinitionImpl processDefinition)
-
getTargetElementId
protected abstract String getTargetElementId()
-
-