com.dtolabs.rundeck.core.execution
Interface ExecutionContext

All Known Subinterfaces:
NodeExecutionContext, StepExecutionContext
All Known Implementing Classes:
ExecutionContextImpl

public interface ExecutionContext

ExecutionContext is ...


Method Summary
 java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getDataContext()
          Return data context set
 ExecutionListener getExecutionListener()
           
 Framework getFramework()
          Get the framework
 java.lang.String getFrameworkProject()
          Get the framework project name
 int getLoglevel()
          Return the loglevel value, using the Ant equivalents: DEBUG=1,
 java.lang.String getNodeRankAttribute()
          Return the node rank attribute to use for ranking
 INodeSet getNodes()
          Return the node selector
 NodesSelector getNodeSelector()
          Return the node selector
 java.io.File getNodesFile()
          Specific file to use for nodes source instead of project nodes
 java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getPrivateDataContext()
          Return the data context in the private scope
 int getThreadCount()
          Return node dispatch threadcount
 java.lang.String getUser()
          username
 boolean isKeepgoing()
          return node dispatch keepgoing
 boolean isNodeRankOrderAscending()
          Return true if the node rank order is ascending
 

Method Detail

getFrameworkProject

java.lang.String getFrameworkProject()
Get the framework project name

Returns:
project name

getFramework

Framework getFramework()
Get the framework


getUser

java.lang.String getUser()
username


getNodeSelector

NodesSelector getNodeSelector()
Return the node selector

Returns:
nodeset

getNodes

INodeSet getNodes()
Return the node selector

Returns:
nodeset

getThreadCount

int getThreadCount()
Return node dispatch threadcount


getNodeRankAttribute

java.lang.String getNodeRankAttribute()
Return the node rank attribute to use for ranking


isNodeRankOrderAscending

boolean isNodeRankOrderAscending()
Return true if the node rank order is ascending


isKeepgoing

boolean isKeepgoing()
return node dispatch keepgoing


getLoglevel

int getLoglevel()
Return the loglevel value, using the Ant equivalents: DEBUG=1,

Returns:
log level from 0-4: ERR,WARN,INFO,VERBOSE,DEBUG

getDataContext

java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getDataContext()
Return data context set

Returns:
map of data contexts keyed by name

getPrivateDataContext

java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getPrivateDataContext()
Return the data context in the private scope


getExecutionListener

ExecutionListener getExecutionListener()

getNodesFile

java.io.File getNodesFile()
Specific file to use for nodes source instead of project nodes