|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.tatool.app.service.exec.impl.ExecutionContextImpl
public class ExecutionContextImpl
Execution context object This is sort of a one stop shop for elements during execution. All available and required is a available here. Please note that the context can change from one to the next execution, therefore do not cache the object inside the element.
| Constructor Summary | |
|---|---|
ExecutionContextImpl(ExecutorImpl executor,
ExecutionData executionData,
DataService dataService,
ExecutionDisplay executionDisplay)
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExecutionContextImpl(ExecutorImpl executor,
ExecutionData executionData,
DataService dataService,
ExecutionDisplay executionDisplay)
| Method Detail |
|---|
public String getId()
getId in interface PropertyHolderpublic Object getProperty(String name)
getProperty in interface PropertyHolder
public 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 ExecutionContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||