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 PropertyHolder
public Object getProperty(String name)
getProperty
in interface PropertyHolder
public void setProperty(String name, Object value)
setProperty
in interface PropertyHolder
public void removeProperty(String name)
removeProperty
in interface PropertyHolder
public Set<String> getKeys()
getKeys
in interface PropertyHolder
public void clearProperties()
clearProperties
in interface PropertyHolder
public ExecutionPhase getPhase()
getPhase
in interface ExecutionContext
public void setPhase(ExecutionPhase executionPhase)
public Executor getExecutor()
getExecutor
in interface ExecutionContext
public DataService getDataService()
getDataService
in interface ExecutionContext
public ExecutionDisplay getExecutionDisplay()
getExecutionDisplay
in interface ExecutionContext
public ExecutionData getExecutionData()
getExecutionData
in interface ExecutionContext
public Executable getActiveExecutable()
getActiveExecutable
in interface ExecutionContext
public Element getActiveElement()
getActiveElement
in interface ExecutionContext
public List<Element> getElementStack()
getElementStack
in interface ExecutionContext
Copyright © 2013. All Rights Reserved.