com.dtolabs.rundeck.core.execution.workflow.steps
Class PluginStepContextImpl

java.lang.Object
  extended by com.dtolabs.rundeck.core.execution.workflow.steps.PluginStepContextImpl
All Implemented Interfaces:
PluginStepContext

public class PluginStepContextImpl
extends java.lang.Object
implements PluginStepContext

PluginStepContextImpl is ...


Constructor Summary
PluginStepContextImpl()
           
 
Method Summary
static PluginStepContextImpl from(StepExecutionContext context)
           
 java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getDataContext()
          Return the data context
 java.lang.String getFrameworkProject()
          Return the project name
 PluginLogger getLogger()
          Return the logger
 INodeSet getNodes()
          Return the nodes used for this execution
 java.util.List<java.lang.Integer> getStepContext()
          Return the context path of step numbers within the larger workflow context.
 int getStepNumber()
          Return the step number within the current workflow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginStepContextImpl

public PluginStepContextImpl()
Method Detail

getFrameworkProject

public java.lang.String getFrameworkProject()
Description copied from interface: PluginStepContext
Return the project name

Specified by:
getFrameworkProject in interface PluginStepContext

getDataContext

public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getDataContext()
Description copied from interface: PluginStepContext
Return the data context

Specified by:
getDataContext in interface PluginStepContext

getLogger

public PluginLogger getLogger()
Description copied from interface: PluginStepContext
Return the logger

Specified by:
getLogger in interface PluginStepContext

from

public static PluginStepContextImpl from(StepExecutionContext context)

getNodes

public INodeSet getNodes()
Description copied from interface: PluginStepContext
Return the nodes used for this execution

Specified by:
getNodes in interface PluginStepContext

getStepNumber

public int getStepNumber()
Description copied from interface: PluginStepContext
Return the step number within the current workflow

Specified by:
getStepNumber in interface PluginStepContext

getStepContext

public java.util.List<java.lang.Integer> getStepContext()
Description copied from interface: PluginStepContext
Return the context path of step numbers within the larger workflow context.

Specified by:
getStepContext in interface PluginStepContext