org.camunda.bpm.engine.impl.interceptor
Class CommandInvocationContext
java.lang.Object
org.camunda.bpm.engine.impl.interceptor.CommandInvocationContext
public class CommandInvocationContext
- extends Object
In contrast to CommandContext, this context holds resources that are only valid
during execution of a single command (i.e. the current command or an exception that was thrown
during its execution).
- Author:
- Thorben Lindhauer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
throwable
protected Throwable throwable
command
protected Command<?> command
isExecuting
protected boolean isExecuting
queuedInvocations
protected List<AtomicOperationInvocation> queuedInvocations
bpmnStackTrace
protected BpmnStackTrace bpmnStackTrace
CommandInvocationContext
public CommandInvocationContext(Command<?> command)
getThrowable
public Throwable getThrowable()
getCommand
public Command<?> getCommand()
trySetThrowable
public void trySetThrowable(Throwable t)
performOperation
public void performOperation(AtomicOperation executionOperation,
ExecutionEntity execution)
performOperationAsync
public void performOperationAsync(AtomicOperation executionOperation,
ExecutionEntity execution)
performOperation
public void performOperation(AtomicOperation executionOperation,
ExecutionEntity execution,
boolean performAsync)
performNext
protected void performNext()
invokeNext
protected void invokeNext()
requiresContextSwitch
protected boolean requiresContextSwitch(ProcessApplicationReference processApplicationReference)
getTargetProcessApplication
protected ProcessApplicationReference getTargetProcessApplication(ExecutionEntity execution)
rethrow
public void rethrow()
Copyright © 2016 camunda services GmbH. All rights reserved.