public interface ExecutionContext
Modifier and Type | Method and Description |
---|---|
<T> java.util.Optional<T> |
componentForType(java.lang.Class<T> type) |
<T> java.util.Collection<T> |
componentsForType(java.lang.Class<T> type) |
com.dtolabs.rundeck.core.authorization.AuthContext |
getAuthContext()
Deprecated.
|
java.lang.String |
getCharsetEncoding() |
java.util.List<ContextComponent<?>> |
getComponentList() |
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
getDataContext()
Return data context set
|
DataContext |
getDataContextObject() |
ExecutionListener |
getExecutionListener() |
ExecutionLogger |
getExecutionLogger() |
Framework |
getFramework()
Deprecated.
use
getIFramework() |
java.lang.String |
getFrameworkProject()
Get the framework project name
|
IFramework |
getIFramework() |
JobService |
getJobService() |
LoggingManager |
getLoggingManager() |
int |
getLoglevel()
Return the loglevel value, using the Ant equivalents: DEBUG=1,
|
java.lang.String |
getNodeRankAttribute() |
INodeSet |
getNodes()
Return the node selector
|
NodesSelector |
getNodeSelector()
Return the node selector
|
ProjectNodeService |
getNodeService() |
OrchestratorConfig |
getOrchestrator() |
SharedOutputContext |
getOutputContext() |
PluginControlService |
getPluginControlService() |
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> |
getPrivateDataContext() |
DataContext |
getPrivateDataContextObject() |
MultiDataContext<ContextView,DataContext> |
getSharedDataContext() |
StorageTree |
getStorageTree() |
int |
getThreadCount() |
java.lang.String |
getUser() |
com.dtolabs.rundeck.core.authorization.UserAndRolesAuthContext |
getUserAndRolesAuthContext() |
WorkflowExecutionListener |
getWorkflowExecutionListener() |
boolean |
isKeepgoing() |
boolean |
isNodeRankOrderAscending() |
<T> int |
useAllComponentsOfType(java.lang.Class<T> type,
java.util.function.Consumer<T> consumer)
apply the consumer to components of the given type, and remove "useOnce" components after use
|
<T> java.util.Optional<T> |
useSingleComponentOfType(java.lang.Class<T> type)
apply the consumer to a single component of the given type, and remove the component if it is "useOnce"
|
<T> boolean |
useSingleComponentOfType(java.lang.Class<T> type,
java.util.function.Consumer<java.util.Optional<T>> consumer)
apply the consumer to a single component of the given type, and remove the component if it is "useOnce"
|
java.lang.String getFrameworkProject()
Framework getFramework()
getIFramework()
IFramework getIFramework()
com.dtolabs.rundeck.core.authorization.AuthContext getAuthContext()
getUserAndRolesAuthContext()
com.dtolabs.rundeck.core.authorization.UserAndRolesAuthContext getUserAndRolesAuthContext()
StorageTree getStorageTree()
JobService getJobService()
java.util.List<ContextComponent<?>> getComponentList()
ProjectNodeService getNodeService()
java.lang.String getUser()
NodesSelector getNodeSelector()
INodeSet getNodes()
int getThreadCount()
java.lang.String getNodeRankAttribute()
boolean isNodeRankOrderAscending()
boolean isKeepgoing()
int getLoglevel()
java.lang.String getCharsetEncoding()
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getDataContext()
DataContext getDataContextObject()
<T> java.util.Collection<T> componentsForType(java.lang.Class<T> type)
T
- type
- <T> int useAllComponentsOfType(java.lang.Class<T> type, java.util.function.Consumer<T> consumer)
T
- type
- consumer
- <T> java.util.Optional<T> componentForType(java.lang.Class<T> type)
T
- type
- <T> boolean useSingleComponentOfType(java.lang.Class<T> type, java.util.function.Consumer<java.util.Optional<T>> consumer)
T
- type
- <T> java.util.Optional<T> useSingleComponentOfType(java.lang.Class<T> type)
T
- type
- MultiDataContext<ContextView,DataContext> getSharedDataContext()
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getPrivateDataContext()
DataContext getPrivateDataContextObject()
ExecutionListener getExecutionListener()
WorkflowExecutionListener getWorkflowExecutionListener()
ExecutionLogger getExecutionLogger()
OrchestratorConfig getOrchestrator()
SharedOutputContext getOutputContext()
LoggingManager getLoggingManager()
PluginControlService getPluginControlService()