public static void removeCurrentProcessApplication() { Stack<ProcessApplicationReference> stack = getStack(processApplicationContext); stack.pop(); }
public static void setCurrentProcessApplication(ProcessApplicationReference reference) { Stack<ProcessApplicationReference> stack = getStack(processApplicationContext); stack.push(reference); }
public static void removeCurrentProcessApplication() { Stack<ProcessApplicationReference> stack = getStack(processApplicationContext); stack.pop(); }
public static void removeCommandInvocationContext() { getStack(commandInvocationContextThreadLocal).pop(); }
public static void removeProcessEngineConfiguration() { getStack(processEngineConfigurationStackThreadLocal).pop(); }
public static void setCommandContext(CommandContext commandContext) { getStack(commandContextThreadLocal).push(commandContext); }
public static void setCommandContext(CommandContext commandContext) { getStack(commandContextThreadLocal).push(commandContext); }
public static void removeCommandContext() { getStack(commandContextThreadLocal).pop(); }
public static ProcessApplicationReference getCurrentProcessApplication() { Stack<ProcessApplicationReference> stack = getStack(processApplicationContext); if(stack.isEmpty()) { return null; } else { return stack.peek(); } }
public static CommandContext getCommandContext() { Stack<CommandContext> stack = getStack(commandContextThreadLocal); if (stack.isEmpty()) { return null; } return stack.peek(); }
public static CoreExecutionContext<? extends CoreExecution> getCoreExecutionContext() { Stack<CoreExecutionContext<? extends CoreExecution>> stack = getStack(executionContextStackThreadLocal); if(stack == null || stack.isEmpty()) { return null; } else { return stack.peek(); } }
public static ProcessEngineConfigurationImpl getProcessEngineConfiguration() { Stack<ProcessEngineConfigurationImpl> stack = getStack(processEngineConfigurationStackThreadLocal); if (stack.isEmpty()) { return null; } return stack.peek(); }
public static ProcessEngineConfigurationImpl getProcessEngineConfiguration() { Stack<ProcessEngineConfigurationImpl> stack = getStack(processEngineConfigurationStackThreadLocal); if (stack.isEmpty()) { return null; } return stack.peek(); }
public static CommandInvocationContext getCommandInvocationContext() { Stack<CommandInvocationContext> stack = getStack(commandInvocationContextThreadLocal); if (stack.isEmpty()) { return null; } return stack.peek(); }
public static CommandContext getCommandContext() { Stack<CommandContext> stack = getStack(commandContextThreadLocal); if (stack.isEmpty()) { return null; } return stack.peek(); }
public static CoreExecutionContext<? extends CoreExecution> getCoreExecutionContext() { Stack<CoreExecutionContext<? extends CoreExecution>> stack = getStack(executionContextStackThreadLocal); if(stack == null || stack.isEmpty()) { return null; } else { return stack.peek(); } }
public static CommandInvocationContext getCommandInvocationContext() { Stack<CommandInvocationContext> stack = getStack(commandInvocationContextThreadLocal); if (stack.isEmpty()) { return null; } return stack.peek(); }
public static ProcessApplicationReference getCurrentProcessApplication() { Stack<ProcessApplicationReference> stack = getStack(processApplicationContext); if(stack.isEmpty()) { return null; } else { return stack.peek(); } }
public static void setExecutionContext(ExecutionEntity execution) { getStack(executionContextStackThreadLocal).push(new BpmnExecutionContext(execution)); }
public static void setExecutionContext(CaseExecutionEntity execution) { getStack(executionContextStackThreadLocal).push(new CaseExecutionContext(execution)); }