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
FieldsFields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractProcessInstanceModificationCommand
externallyTerminated, processInstanceId, skipCustomListeners, skipIoMappings -
Constructor Summary
ConstructorsConstructorDescriptionAbstractInstantiationCmd(String processInstanceId, String ancestorActivityInstanceId) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddVariable(String name, Object value) voidaddVariableLocal(String name, Object value) voidaddVariables(Map<String, Object> variables) voidaddVariablesLocal(Map<String, Object> variables) execute(CommandContext commandContext) protected ExecutionEntitygetSingleExecutionForScope(ActivityExecutionTreeMapping mapping, ScopeImpl scope) protected abstract CoreModelElementgetTargetElement(ProcessDefinitionImpl processDefinition) protected abstract Stringprotected abstract ScopeImplgetTargetFlowScope(ProcessDefinitionImpl processDefinition) protected voidinstantiate(ExecutionEntity ancestorScopeExecution, List<PvmActivity> parentFlowScopes, CoreModelElement targetElement) protected voidinstantiateConcurrent(ExecutionEntity ancestorScopeExecution, List<PvmActivity> parentFlowScopes, CoreModelElement targetElement) protected booleanisConcurrentStart(ActivityStartBehavior startBehavior) protected booleansupportsConcurrentChildInstantiation(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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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
-