public class RemoteScriptNodeStepPluginAdapter_Ext extends java.lang.Object implements NodeStepPlugin, Configurable, Describable
Modifier and Type | Field and Description |
---|---|
static com.dtolabs.rundeck.core.execution.workflow.steps.node.RemoteScriptNodeStepPluginAdapter_Ext.NodeStepPluginConverter |
CONVERT_TO_NODE_STEP_PLUGIN |
Constructor and Description |
---|
RemoteScriptNodeStepPluginAdapter_Ext(RemoteScriptNodeStepPlugin plugin,
boolean blankIfUnexpanded) |
Modifier and Type | Method and Description |
---|---|
boolean |
blankIfUnexpanded() |
void |
configure(java.util.Properties configuration)
Configure the object with the configuration properties.
|
void |
executeNodeStep(PluginStepContext pluginContext,
java.util.Map<java.lang.String,java.lang.Object> config,
INodeEntry node)
Execute the plugin step logic for the given node.
|
static NodeStepResult |
executeRemoteScript(StepExecutionContext context,
INodeEntry node,
GeneratedScript script,
java.lang.String ident,
java.lang.String providerName,
ScriptFileNodeStepUtils scriptUtils) |
Description |
getDescription() |
ScriptFileNodeStepUtils |
getScriptUtils() |
void |
setScriptUtils(ScriptFileNodeStepUtils scriptUtils) |
public static final com.dtolabs.rundeck.core.execution.workflow.steps.node.RemoteScriptNodeStepPluginAdapter_Ext.NodeStepPluginConverter CONVERT_TO_NODE_STEP_PLUGIN
public RemoteScriptNodeStepPluginAdapter_Ext(RemoteScriptNodeStepPlugin plugin, boolean blankIfUnexpanded)
public boolean blankIfUnexpanded()
blankIfUnexpanded
in interface NodeStepPlugin
public Description getDescription()
getDescription
in interface Describable
public ScriptFileNodeStepUtils getScriptUtils()
public void setScriptUtils(ScriptFileNodeStepUtils scriptUtils)
public void configure(java.util.Properties configuration) throws ConfigurationException
Configurable
configure
in interface Configurable
configuration
- the properties to useConfigurationException
- if there is an invalid configurationpublic void executeNodeStep(PluginStepContext pluginContext, java.util.Map<java.lang.String,java.lang.Object> config, INodeEntry node) throws NodeStepException
NodeStepPlugin
executeNodeStep
in interface NodeStepPlugin
pluginContext
- the step contextconfig
- Any configuration property values not otherwise applied to the pluginnode
- the NodeNodeStepException
- if an error occurspublic static NodeStepResult executeRemoteScript(StepExecutionContext context, INodeEntry node, GeneratedScript script, java.lang.String ident, java.lang.String providerName, ScriptFileNodeStepUtils scriptUtils) throws NodeStepException
NodeStepException