public abstract class AbstractInstantiationCmd extends AbstractProcessInstanceModificationCommand
Modifier and Type | Field and Description |
---|---|
protected String |
ancestorActivityInstanceId |
protected org.camunda.bpm.engine.variable.VariableMap |
variables |
protected org.camunda.bpm.engine.variable.VariableMap |
variablesLocal |
processInstanceId, skipCustomListeners, skipIoMappings
Constructor and Description |
---|
AbstractInstantiationCmd(String processInstanceId,
String ancestorActivityInstanceId) |
Modifier and Type | Method and Description |
---|---|
void |
addVariable(String name,
Object value) |
void |
addVariableLocal(String name,
Object value) |
void |
addVariables(Map<String,Object> variables) |
void |
addVariablesLocal(Map<String,Object> variables) |
Void |
execute(CommandContext commandContext) |
protected ExecutionEntity |
getSingleExecutionForScope(ActivityExecutionTreeMapping mapping,
ScopeImpl scope) |
protected abstract CoreModelElement |
getTargetElement(ProcessDefinitionImpl processDefinition) |
protected abstract String |
getTargetElementId() |
protected abstract ScopeImpl |
getTargetFlowScope(ProcessDefinitionImpl processDefinition) |
org.camunda.bpm.engine.variable.VariableMap |
getVariables() |
org.camunda.bpm.engine.variable.VariableMap |
getVariablesLocal() |
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 construct
|
describe, describeFailure, findActivityInstance, findTransitionInstance, getScopeExecutionForActivityInstance, getScopeForActivityInstance, matchesRequestedTransitionInstance, setProcessInstanceId, setSkipCustomListeners, setSkipIoMappings, toString
protected org.camunda.bpm.engine.variable.VariableMap variables
protected org.camunda.bpm.engine.variable.VariableMap variablesLocal
protected String ancestorActivityInstanceId
public org.camunda.bpm.engine.variable.VariableMap getVariables()
public org.camunda.bpm.engine.variable.VariableMap getVariablesLocal()
public Void execute(CommandContext commandContext)
protected boolean supportsConcurrentChildInstantiation(ScopeImpl flowScope)
protected ExecutionEntity getSingleExecutionForScope(ActivityExecutionTreeMapping mapping, ScopeImpl scope)
protected boolean isConcurrentStart(ActivityStartBehavior startBehavior)
protected void instantiate(ExecutionEntity ancestorScopeExecution, List<PvmActivity> parentFlowScopes, CoreModelElement targetElement)
protected void instantiateConcurrent(ExecutionEntity ancestorScopeExecution, List<PvmActivity> parentFlowScopes, CoreModelElement targetElement)
protected abstract ScopeImpl getTargetFlowScope(ProcessDefinitionImpl processDefinition)
protected abstract CoreModelElement getTargetElement(ProcessDefinitionImpl processDefinition)
protected abstract String getTargetElementId()
Copyright © 2017. All rights reserved.