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 PluginStepContextImpl
from(StepExecutionContext context)
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>
getDataContext()
DataContext
getDataContextObject()
StepExecutionContext
getExecutionContext()
FlowControl
getFlowControl()
Framework
getFramework()
java.lang.String
getFrameworkProject()
PluginLogger
getLogger()
INodeSet
getNodes()
SharedOutputContext
getOutputContext()
java.util.List<java.lang.Integer>
getStepContext()
int
getStepNumber()
-
-
-
Method Detail
-
getFrameworkProject
public java.lang.String getFrameworkProject()
- Specified by:
getFrameworkProject
in interfacePluginStepContext
- Returns:
- the project name
-
getDataContextObject
public DataContext getDataContextObject()
- Specified by:
getDataContextObject
in 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:
getDataContext
in interfacePluginStepContext
- Returns:
- the data context map
-
getLogger
public PluginLogger getLogger()
- Specified by:
getLogger
in interfacePluginStepContext
- Returns:
- the logger
-
from
public static PluginStepContextImpl from(StepExecutionContext context)
-
getNodes
public INodeSet getNodes()
- Specified by:
getNodes
in interfacePluginStepContext
- Returns:
- the nodes used for this execution
-
getStepNumber
public int getStepNumber()
- Specified by:
getStepNumber
in interfacePluginStepContext
- Returns:
- the step number within the current workflow
-
getStepContext
public java.util.List<java.lang.Integer> getStepContext()
- Specified by:
getStepContext
in interfacePluginStepContext
- Returns:
- the context path of step numbers within the larger workflow context.
-
getFramework
public Framework getFramework()
- Specified by:
getFramework
in interfacePluginStepContext
- Returns:
- the Framework object
-
getExecutionContext
public StepExecutionContext getExecutionContext()
- Specified by:
getExecutionContext
in interfacePluginStepContext
- Returns:
- the the current execution context
-
getFlowControl
public FlowControl getFlowControl()
- Specified by:
getFlowControl
in interfacePluginStepContext
- Returns:
- object to control workflow
-
getOutputContext
public SharedOutputContext getOutputContext()
- Specified by:
getOutputContext
in interfacePluginStepContext
- Returns:
- context for sending output data
-
-