Class Context
java.lang.Object
org.operaton.bpm.engine.impl.context.Context
Holds the context of the current command being executed.
- Author:
- Tom Baeyens, Daniel Meyer, Thorben Lindhauer
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> TexecuteWithinProcessApplication(Callable<T> callback, ProcessApplicationReference processApplicationReference) UseexecuteWithinProcessApplication(Callable, ProcessApplicationReference, InvocationContext)instead if anInvocationContextis available.static <T> TexecuteWithinProcessApplication(Callable<T> callback, ProcessApplicationReference processApplicationReference, InvocationContext invocationContext) static BpmnExecutionContextstatic CaseExecutionContextstatic CommandContextstatic CommandInvocationContextstatic CoreExecutionContext<? extends CoreExecution>static ProcessApplicationReferencestatic ExecutionContextDeprecated, for removal: This API element is subject to removal in a future version.static JobExecutorContextstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidstatic voidsetCommandContext(CommandContext commandContext) static voidsetCommandInvocationContext(CommandInvocationContext commandInvocationContext) static voidstatic voidsetExecutionContext(CaseExecutionEntity execution) static voidsetExecutionContext(ExecutionEntity execution) static voidsetJobExecutorContext(JobExecutorContext jobExecutorContext) static voidsetProcessEngineConfiguration(ProcessEngineConfigurationImpl processEngineConfiguration)
-
Method Details
-
getCommandContext
-
setCommandContext
-
removeCommandContext
public static void removeCommandContext() -
getCommandInvocationContext
-
setCommandInvocationContext
-
removeCommandInvocationContext
public static void removeCommandInvocationContext() -
getProcessEngineConfiguration
-
setProcessEngineConfiguration
public static void setProcessEngineConfiguration(ProcessEngineConfigurationImpl processEngineConfiguration) -
removeProcessEngineConfiguration
public static void removeProcessEngineConfiguration() -
getExecutionContext
Deprecated, for removal: This API element is subject to removal in a future version.UsegetBpmnExecutionContext()instead. -
getBpmnExecutionContext
-
getCaseExecutionContext
-
getCoreExecutionContext
-
setExecutionContext
-
setExecutionContext
-
removeExecutionContext
public static void removeExecutionContext() -
getJobExecutorContext
-
setJobExecutorContext
-
removeJobExecutorContext
public static void removeJobExecutorContext() -
getCurrentProcessApplication
-
setCurrentProcessApplication
-
removeCurrentProcessApplication
public static void removeCurrentProcessApplication() -
executeWithinProcessApplication
public static <T> T executeWithinProcessApplication(Callable<T> callback, ProcessApplicationReference processApplicationReference) UseexecuteWithinProcessApplication(Callable, ProcessApplicationReference, InvocationContext)instead if anInvocationContextis available. -
executeWithinProcessApplication
public static <T> T executeWithinProcessApplication(Callable<T> callback, ProcessApplicationReference processApplicationReference, InvocationContext invocationContext)
-
getBpmnExecutionContext()instead.