public class ExecutionContextImpl extends Object implements ExecutionContext
| Constructor and Description |
|---|
ExecutionContextImpl(ExecutorImpl executor,
ExecutionData executionData,
DataService dataService,
ExecutionDisplay executionDisplay) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearProperties()
Clear all properties
|
Element |
getActiveElement()
Get the active Element.
|
Executable |
getActiveExecutable()
Get the currently scheduled or executed ExecutableElement.
|
DataService |
getDataService() |
List<Element> |
getElementStack()
Get the element stack, the stack of elements being executed.
|
ExecutionData |
getExecutionData() |
ExecutionDisplay |
getExecutionDisplay() |
Executor |
getExecutor() |
String |
getId() |
Set<String> |
getKeys()
Get all properties contained in this holder
|
ExecutionPhase |
getPhase() |
Object |
getProperty(String name) |
void |
removeProperty(String name) |
void |
setPhase(ExecutionPhase executionPhase) |
void |
setProperty(String name,
Object value) |
public ExecutionContextImpl(ExecutorImpl executor, ExecutionData executionData, DataService dataService, ExecutionDisplay executionDisplay)
public String getId()
getId in interface PropertyHolderpublic Object getProperty(String name)
getProperty in interface PropertyHolderpublic void setProperty(String name, Object value)
setProperty in interface PropertyHolderpublic void removeProperty(String name)
removeProperty in interface PropertyHolderpublic Set<String> getKeys()
getKeys in interface PropertyHolderpublic void clearProperties()
clearProperties in interface PropertyHolderpublic ExecutionPhase getPhase()
getPhase in interface ExecutionContextpublic void setPhase(ExecutionPhase executionPhase)
public Executor getExecutor()
getExecutor in interface ExecutionContextpublic DataService getDataService()
getDataService in interface ExecutionContextpublic ExecutionDisplay getExecutionDisplay()
getExecutionDisplay in interface ExecutionContextpublic ExecutionData getExecutionData()
getExecutionData in interface ExecutionContextpublic Executable getActiveExecutable()
getActiveExecutable in interface ExecutionContextpublic Element getActiveElement()
getActiveElement in interface ExecutionContextpublic List<Element> getElementStack()
getElementStack in interface ExecutionContextCopyright © 2012. All Rights Reserved.