public abstract class AbstractInstanceCancellationCmd extends AbstractProcessInstanceModificationCommand
Modifier and Type | Field and Description |
---|---|
protected String |
cancellationReason |
externallyTerminated, processInstanceId, skipCustomListeners, skipIoMappings
Constructor and Description |
---|
AbstractInstanceCancellationCmd(String processInstanceId) |
AbstractInstanceCancellationCmd(String processInstanceId,
String cancellationReason) |
Modifier and Type | Method and Description |
---|---|
protected abstract ExecutionEntity |
determineSourceInstanceExecution(CommandContext commandContext) |
Void |
execute(CommandContext commandContext) |
protected ExecutionEntity |
findSuperExecution(ExecutionEntity parentScopeExecution,
ExecutionEntity topmostCancellableExecution) |
describe, describeFailure, findActivityInstance, findTransitionInstance, getProcessInstanceId, getScopeExecutionForActivityInstance, getScopeForActivityInstance, matchesRequestedTransitionInstance, setExternallyTerminated, setProcessInstanceId, setSkipCustomListeners, setSkipIoMappings, toString
protected String cancellationReason
public AbstractInstanceCancellationCmd(String processInstanceId)
public Void execute(CommandContext commandContext)
protected abstract ExecutionEntity determineSourceInstanceExecution(CommandContext commandContext)
protected ExecutionEntity findSuperExecution(ExecutionEntity parentScopeExecution, ExecutionEntity topmostCancellableExecution)
Copyright © 2022. All rights reserved.