public abstract class SimulationRunContext extends Object
Modifier and Type | Field and Description |
---|---|
protected static ThreadLocal<Stack<EventCalendar>> |
eventCalendarThreadLocal |
protected static ThreadLocal<Stack<VariableScope>> |
executionThreadLocal |
protected static ThreadLocal<Stack<ProcessEngine>> |
processEngineThreadLocal |
protected static ThreadLocal<Stack<String>> |
simulationRunIdThreadLocal |
Constructor and Description |
---|
SimulationRunContext() |
Modifier and Type | Method and Description |
---|---|
static Clock |
getClock() |
static EventCalendar |
getEventCalendar() |
static VariableScope |
getExecution() |
static HistoryService |
getHistoryService() |
static ProcessEngine |
getProcessEngine() |
static RepositoryService |
getRepositoryService() |
static RuntimeService |
getRuntimeService() |
static String |
getSimulationRunId() |
protected static <T> Stack<T> |
getStack(ThreadLocal<Stack<T>> threadLocal) |
static TaskService |
getTaskService() |
static void |
removeEventCalendar() |
static void |
removeProcessEngine() |
static void |
setEventCalendar(EventCalendar eventCalendar) |
static void |
setExecution(VariableScope execution) |
static void |
setProcessEngine(ProcessEngine processEngine) |
static void |
setSimulationRunId(String simulationRunId) |
protected static ThreadLocal<Stack<ProcessEngine>> processEngineThreadLocal
protected static ThreadLocal<Stack<EventCalendar>> eventCalendarThreadLocal
protected static ThreadLocal<Stack<String>> simulationRunIdThreadLocal
protected static ThreadLocal<Stack<VariableScope>> executionThreadLocal
public static RuntimeService getRuntimeService()
public static void setProcessEngine(ProcessEngine processEngine)
public static ProcessEngine getProcessEngine()
public static void removeProcessEngine()
public static TaskService getTaskService()
public static EventCalendar getEventCalendar()
public static void setEventCalendar(EventCalendar eventCalendar)
public static String getSimulationRunId()
public static void setSimulationRunId(String simulationRunId)
public static void removeEventCalendar()
public static HistoryService getHistoryService()
public static RepositoryService getRepositoryService()
public static VariableScope getExecution()
public static void setExecution(VariableScope execution)
public static Clock getClock()
protected static <T> Stack<T> getStack(ThreadLocal<Stack<T>> threadLocal)
Copyright © 2016 Alfresco. All rights reserved.