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
-
- All Implemented Interfaces:
Command<java.lang.Void>
- Direct Known Subclasses:
ActivityInstanceCancellationCmd
,TransitionInstanceCancellationCmd
public abstract class AbstractInstanceCancellationCmd extends AbstractProcessInstanceModificationCommand
- Author:
- Thorben Lindhauer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
cancellationReason
-
Fields inherited from class org.camunda.bpm.engine.impl.cmd.AbstractProcessInstanceModificationCommand
externallyTerminated, processInstanceId, skipCustomListeners, skipIoMappings
-
-
Constructor Summary
Constructors Constructor Description AbstractInstanceCancellationCmd(java.lang.String processInstanceId)
AbstractInstanceCancellationCmd(java.lang.String processInstanceId, java.lang.String cancellationReason)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract ExecutionEntity
determineSourceInstanceExecution(CommandContext commandContext)
java.lang.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
-
-
-
-
Method Detail
-
execute
public java.lang.Void execute(CommandContext commandContext)
-
determineSourceInstanceExecution
protected abstract ExecutionEntity determineSourceInstanceExecution(CommandContext commandContext)
-
findSuperExecution
protected ExecutionEntity findSuperExecution(ExecutionEntity parentScopeExecution, ExecutionEntity topmostCancellableExecution)
-
-