public abstract class AbstractProcessInstanceModificationCommand extends Object implements Command<Void>
Modifier and Type | Field and Description |
---|---|
protected String |
processInstanceId |
protected boolean |
skipCustomListeners |
protected boolean |
skipIoMappings |
Constructor and Description |
---|
AbstractProcessInstanceModificationCommand(String processInstanceId) |
Modifier and Type | Method and Description |
---|---|
protected abstract String |
describe() |
protected String |
describeFailure(String detailMessage) |
protected ActivityInstance |
findActivityInstance(ActivityInstance tree,
String activityInstanceId) |
protected TransitionInstance |
findTransitionInstance(ActivityInstance tree,
String transitionInstanceId) |
String |
getProcessInstanceId() |
protected ExecutionEntity |
getScopeExecutionForActivityInstance(ExecutionEntity processInstance,
ActivityExecutionTreeMapping mapping,
ActivityInstance activityInstance) |
protected ScopeImpl |
getScopeForActivityInstance(ProcessDefinitionImpl processDefinition,
ActivityInstance activityInstance) |
protected boolean |
matchesRequestedTransitionInstance(TransitionInstance instance,
String queryInstanceId) |
void |
setProcessInstanceId(String processInstanceId) |
void |
setSkipCustomListeners(boolean skipCustomListeners) |
void |
setSkipIoMappings(boolean skipIoMappings) |
String |
toString() |
protected String processInstanceId
protected boolean skipCustomListeners
protected boolean skipIoMappings
public AbstractProcessInstanceModificationCommand(String processInstanceId)
public void setSkipCustomListeners(boolean skipCustomListeners)
public void setSkipIoMappings(boolean skipIoMappings)
public void setProcessInstanceId(String processInstanceId)
public String getProcessInstanceId()
protected ActivityInstance findActivityInstance(ActivityInstance tree, String activityInstanceId)
protected TransitionInstance findTransitionInstance(ActivityInstance tree, String transitionInstanceId)
protected boolean matchesRequestedTransitionInstance(TransitionInstance instance, String queryInstanceId)
protected ScopeImpl getScopeForActivityInstance(ProcessDefinitionImpl processDefinition, ActivityInstance activityInstance)
protected ExecutionEntity getScopeExecutionForActivityInstance(ExecutionEntity processInstance, ActivityExecutionTreeMapping mapping, ActivityInstance activityInstance)
protected abstract String describe()
Copyright © 2019. All rights reserved.