public class ActivityBeforeInstantiationCmd extends AbstractInstantiationCmd
Modifier and Type | Field and Description |
---|---|
protected String |
activityId |
ancestorActivityInstanceId, variables, variablesLocal
externallyTerminated, processInstanceId, skipCustomListeners, skipIoMappings
Constructor and Description |
---|
ActivityBeforeInstantiationCmd(String activityId) |
ActivityBeforeInstantiationCmd(String processInstanceId,
String activityId) |
ActivityBeforeInstantiationCmd(String processInstanceId,
String activityId,
String ancestorActivityInstanceId) |
Modifier and Type | Method and Description |
---|---|
protected String |
describe() |
Void |
execute(CommandContext commandContext) |
protected CoreModelElement |
getTargetElement(ProcessDefinitionImpl processDefinition) |
String |
getTargetElementId() |
protected ScopeImpl |
getTargetFlowScope(ProcessDefinitionImpl processDefinition) |
addVariable, addVariableLocal, addVariables, addVariablesLocal, getSingleExecutionForScope, getVariables, getVariablesLocal, instantiate, instantiateConcurrent, isConcurrentStart, supportsConcurrentChildInstantiation
describeFailure, findActivityInstance, findTransitionInstance, getProcessInstanceId, getScopeExecutionForActivityInstance, getScopeForActivityInstance, matchesRequestedTransitionInstance, setExternallyTerminated, setProcessInstanceId, setSkipCustomListeners, setSkipIoMappings, toString
protected String activityId
public ActivityBeforeInstantiationCmd(String activityId)
public ActivityBeforeInstantiationCmd(String processInstanceId, String activityId)
public Void execute(CommandContext commandContext)
execute
in interface Command<Void>
execute
in class AbstractInstantiationCmd
protected ScopeImpl getTargetFlowScope(ProcessDefinitionImpl processDefinition)
getTargetFlowScope
in class AbstractInstantiationCmd
protected CoreModelElement getTargetElement(ProcessDefinitionImpl processDefinition)
getTargetElement
in class AbstractInstantiationCmd
public String getTargetElementId()
getTargetElementId
in class AbstractInstantiationCmd
protected String describe()
describe
in class AbstractProcessInstanceModificationCommand
Copyright © 2021. All rights reserved.