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