Class StepPluginAdapter
- java.lang.Object
-
- com.dtolabs.rundeck.core.execution.workflow.steps.StepPluginAdapter
-
- All Implemented Interfaces:
StepExecutor
,Describable
,DynamicProperties
public class StepPluginAdapter extends java.lang.Object implements StepExecutor, Describable, DynamicProperties
StepPluginAdapter is ...
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StepPluginAdapter.Convert
-
Field Summary
Fields Modifier and Type Field Description static StepPluginAdapter.Convert
CONVERTER
-
Constructor Summary
Constructors Constructor Description StepPluginAdapter(StepPlugin plugin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
createConfig(StepExecutionContext executionContext, StepExecutionItem item)
java.util.Map<java.lang.String,java.lang.Object>
dynamicDefaults(java.util.Map<java.lang.String,java.lang.Object> projectAndFrameworkValues, Services services)
Return dynamic default values for config properties, keyed by property namejava.util.Map<java.lang.String,java.lang.Object>
dynamicProperties(java.util.Map<java.lang.String,java.lang.Object> projectAndFrameworkValues, Services services)
Return dynamic allowed values for config properties, keyed by property nameStepExecutionResult
executeWorkflowStep(StepExecutionContext executionContext, StepExecutionItem item)
Description
getDescription()
StepPlugin
getPlugin()
boolean
isNodeDispatchStep(StepExecutionItem item)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.dtolabs.rundeck.core.plugins.configuration.DynamicProperties
dynamicProperties
-
-
-
-
Field Detail
-
CONVERTER
public static final StepPluginAdapter.Convert CONVERTER
-
-
Constructor Detail
-
StepPluginAdapter
public StepPluginAdapter(StepPlugin plugin)
-
-
Method Detail
-
dynamicProperties
public java.util.Map<java.lang.String,java.lang.Object> dynamicProperties(java.util.Map<java.lang.String,java.lang.Object> projectAndFrameworkValues, Services services)
Description copied from interface:DynamicProperties
Return dynamic allowed values for config properties, keyed by property name- Specified by:
dynamicProperties
in interfaceDynamicProperties
- Parameters:
projectAndFrameworkValues
- config values for this plugin resolved from the framework/projectservices
- authorized services access
-
dynamicDefaults
public java.util.Map<java.lang.String,java.lang.Object> dynamicDefaults(java.util.Map<java.lang.String,java.lang.Object> projectAndFrameworkValues, Services services)
Description copied from interface:DynamicProperties
Return dynamic default values for config properties, keyed by property name- Specified by:
dynamicDefaults
in interfaceDynamicProperties
- Parameters:
projectAndFrameworkValues
- config values for this plugin resolved from the framework/projectservices
- authorized services access
-
getDescription
public Description getDescription()
- Specified by:
getDescription
in interfaceDescribable
- Returns:
- the configuration description
-
isNodeDispatchStep
public boolean isNodeDispatchStep(StepExecutionItem item)
- Specified by:
isNodeDispatchStep
in interfaceStepExecutor
-
executeWorkflowStep
public StepExecutionResult executeWorkflowStep(StepExecutionContext executionContext, StepExecutionItem item) throws StepException
- Specified by:
executeWorkflowStep
in interfaceStepExecutor
- Throws:
StepException
-
createConfig
public java.util.Map<java.lang.String,java.lang.Object> createConfig(StepExecutionContext executionContext, StepExecutionItem item)
-
getPlugin
public StepPlugin getPlugin()
-
-