Package org.camunda.bpm.engine.impl.cmd
Class AbstractProcessInstanceModificationCommand
java.lang.Object
org.camunda.bpm.engine.impl.cmd.AbstractProcessInstanceModificationCommand
- Direct Known Subclasses:
AbstractInstanceCancellationCmd
,AbstractInstantiationCmd
,ActivityCancellationCmd
public abstract class AbstractProcessInstanceModificationCommand
extends Object
implements Command<Void>
- Author:
- Thorben Lindhauer
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected String
protected boolean
protected boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract String
describe()
protected String
describeFailure
(String detailMessage) protected ActivityInstance
findActivityInstance
(ActivityInstance tree, String activityInstanceId) protected TransitionInstance
findTransitionInstance
(ActivityInstance tree, String transitionInstanceId) protected ExecutionEntity
getScopeExecutionForActivityInstance
(ExecutionEntity processInstance, ActivityExecutionTreeMapping mapping, ActivityInstance activityInstance) protected ScopeImpl
getScopeForActivityInstance
(ProcessDefinitionImpl processDefinition, ActivityInstance activityInstance) protected boolean
matchesRequestedTransitionInstance
(TransitionInstance instance, String queryInstanceId) void
setExternallyTerminated
(boolean externallyTerminated) void
setProcessInstanceId
(String processInstanceId) void
setSkipCustomListeners
(boolean skipCustomListeners) void
setSkipIoMappings
(boolean skipIoMappings) 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
execute, isRetryable
-
Field Details
-
processInstanceId
-
skipCustomListeners
protected boolean skipCustomListeners -
skipIoMappings
protected boolean skipIoMappings -
externallyTerminated
protected boolean externallyTerminated
-
-
Constructor Details
-
AbstractProcessInstanceModificationCommand
-
-
Method Details
-
setSkipCustomListeners
public void setSkipCustomListeners(boolean skipCustomListeners) -
setSkipIoMappings
public void setSkipIoMappings(boolean skipIoMappings) -
setExternallyTerminated
public void setExternallyTerminated(boolean externallyTerminated) -
setProcessInstanceId
-
getProcessInstanceId
-
findActivityInstance
-
findTransitionInstance
protected TransitionInstance findTransitionInstance(ActivityInstance tree, String transitionInstanceId) -
matchesRequestedTransitionInstance
protected boolean matchesRequestedTransitionInstance(TransitionInstance instance, String queryInstanceId) -
getScopeForActivityInstance
protected ScopeImpl getScopeForActivityInstance(ProcessDefinitionImpl processDefinition, ActivityInstance activityInstance) -
getScopeExecutionForActivityInstance
protected ExecutionEntity getScopeExecutionForActivityInstance(ExecutionEntity processInstance, ActivityExecutionTreeMapping mapping, ActivityInstance activityInstance) -
describeFailure
-
describe
-
toString
-