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 classStepPluginAdapter.Convert
-
Field Summary
Fields Modifier and Type Field Description static StepPluginAdapter.ConvertCONVERTER
-
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 nameStepExecutionResultexecuteWorkflowStep(StepExecutionContext executionContext, StepExecutionItem item)DescriptiongetDescription()StepPlugingetPlugin()booleanisNodeDispatchStep(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:DynamicPropertiesReturn dynamic allowed values for config properties, keyed by property name- Specified by:
dynamicPropertiesin 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:DynamicPropertiesReturn dynamic default values for config properties, keyed by property name- Specified by:
dynamicDefaultsin interfaceDynamicProperties- Parameters:
projectAndFrameworkValues- config values for this plugin resolved from the framework/projectservices- authorized services access
-
getDescription
public Description getDescription()
- Specified by:
getDescriptionin interfaceDescribable- Returns:
- the configuration description
-
isNodeDispatchStep
public boolean isNodeDispatchStep(StepExecutionItem item)
- Specified by:
isNodeDispatchStepin interfaceStepExecutor
-
executeWorkflowStep
public StepExecutionResult executeWorkflowStep(StepExecutionContext executionContext, StepExecutionItem item) throws StepException
- Specified by:
executeWorkflowStepin interfaceStepExecutor- Throws:
StepException
-
createConfig
public java.util.Map<java.lang.String,java.lang.Object> createConfig(StepExecutionContext executionContext, StepExecutionItem item)
-
getPlugin
public StepPlugin getPlugin()
-
-