Class PluginStepContextImpl
- java.lang.Object
-
- 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
Constructors Constructor Description PluginStepContextImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PluginStepContextImplfrom(StepExecutionContext context)java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>getDataContext()DataContextgetDataContextObject()StepExecutionContextgetExecutionContext()FlowControlgetFlowControl()FrameworkgetFramework()java.lang.StringgetFrameworkProject()IFrameworkgetIFramework()PluginLoggergetLogger()INodeSetgetNodes()SharedOutputContextgetOutputContext()java.util.List<java.lang.Integer>getStepContext()intgetStepNumber()
-
-
-
Method Detail
-
getFrameworkProject
public java.lang.String getFrameworkProject()
- Specified by:
getFrameworkProjectin interfacePluginStepContext- Returns:
- the project name
-
getDataContextObject
public DataContext getDataContextObject()
- Specified by:
getDataContextObjectin interfacePluginStepContext- Returns:
- the data context
-
getDataContext
public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getDataContext()
- Specified by:
getDataContextin interfacePluginStepContext- Returns:
- the data context map
-
getLogger
public PluginLogger getLogger()
- Specified by:
getLoggerin interfacePluginStepContext- Returns:
- the logger
-
from
public static PluginStepContextImpl from(StepExecutionContext context)
-
getNodes
public INodeSet getNodes()
- Specified by:
getNodesin interfacePluginStepContext- Returns:
- the nodes used for this execution
-
getStepNumber
public int getStepNumber()
- Specified by:
getStepNumberin interfacePluginStepContext- Returns:
- the step number within the current workflow
-
getStepContext
public java.util.List<java.lang.Integer> getStepContext()
- Specified by:
getStepContextin interfacePluginStepContext- Returns:
- the context path of step numbers within the larger workflow context.
-
getFramework
public Framework getFramework()
- Specified by:
getFrameworkin interfacePluginStepContext- Returns:
- the Framework object
-
getIFramework
public IFramework getIFramework()
- Specified by:
getIFrameworkin interfacePluginStepContext- Returns:
- the IFramework object
-
getExecutionContext
public StepExecutionContext getExecutionContext()
- Specified by:
getExecutionContextin interfacePluginStepContext- Returns:
- the the current execution context
-
getFlowControl
public FlowControl getFlowControl()
- Specified by:
getFlowControlin interfacePluginStepContext- Returns:
- object to control workflow
-
getOutputContext
public SharedOutputContext getOutputContext()
- Specified by:
getOutputContextin interfacePluginStepContext- Returns:
- context for sending output data
-
-