Package org.camunda.bpm.engine.impl.cmd
Class AbstractInstanceCancellationCmd
- java.lang.Object
-
- org.camunda.bpm.engine.impl.cmd.AbstractProcessInstanceModificationCommand
-
- org.camunda.bpm.engine.impl.cmd.AbstractInstanceCancellationCmd
-
- Direct Known Subclasses:
ActivityInstanceCancellationCmd
,TransitionInstanceCancellationCmd
public abstract class AbstractInstanceCancellationCmd extends AbstractProcessInstanceModificationCommand
- Author:
- Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description protected String
cancellationReason
-
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractProcessInstanceModificationCommand
externallyTerminated, processInstanceId, skipCustomListeners, skipIoMappings
-
-
Constructor Summary
Constructors Constructor Description AbstractInstanceCancellationCmd(String processInstanceId)
AbstractInstanceCancellationCmd(String processInstanceId, String cancellationReason)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ExecutionEntity
determineSourceInstanceExecution(CommandContext commandContext)
Void
execute(CommandContext commandContext)
protected ExecutionEntity
findSuperExecution(ExecutionEntity parentScopeExecution, ExecutionEntity topmostCancellableExecution)
-
Methods inherited from class org.camunda.bpm.engine.impl.cmd.AbstractProcessInstanceModificationCommand
describe, describeFailure, findActivityInstance, findTransitionInstance, getProcessInstanceId, getScopeExecutionForActivityInstance, getScopeForActivityInstance, matchesRequestedTransitionInstance, setExternallyTerminated, setProcessInstanceId, setSkipCustomListeners, setSkipIoMappings, 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
isRetryable
-
-
-
-
Field Detail
-
cancellationReason
protected String cancellationReason
-
-
Method Detail
-
execute
public Void execute(CommandContext commandContext)
-
determineSourceInstanceExecution
protected abstract ExecutionEntity determineSourceInstanceExecution(CommandContext commandContext)
-
findSuperExecution
protected ExecutionEntity findSuperExecution(ExecutionEntity parentScopeExecution, ExecutionEntity topmostCancellableExecution)
-
-