com.dtolabs.rundeck.core.execution.workflow.steps.node.impl
Class ScriptURLNodeStepExecutor
java.lang.Object
com.dtolabs.rundeck.core.execution.workflow.steps.node.impl.ScriptURLNodeStepExecutor
- All Implemented Interfaces:
- NodeStepExecutor
public class ScriptURLNodeStepExecutor
- extends java.lang.Object
- implements NodeStepExecutor
ScriptURLNodeStepExecutor is a NodeStepExecutor for executing a script retrieved from a URL.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static final org.apache.log4j.Logger logger
SERVICE_IMPLEMENTATION_NAME
public static final java.lang.String SERVICE_IMPLEMENTATION_NAME
- See Also:
- Constant Field Values
DEFAULT_TIMEOUT
public static final int DEFAULT_TIMEOUT
- See Also:
- Constant Field Values
USE_CACHE
public static final boolean USE_CACHE
- See Also:
- Constant Field Values
urlPathEncoder
public static final Converter<java.lang.String,java.lang.String> urlPathEncoder
urlQueryEncoder
public static final Converter<java.lang.String,java.lang.String> urlQueryEncoder
ScriptURLNodeStepExecutor
public ScriptURLNodeStepExecutor(Framework framework)
executeNodeStep
public NodeStepResult executeNodeStep(StepExecutionContext context,
NodeStepExecutionItem item,
INodeEntry node)
throws NodeStepException
- Description copied from interface:
NodeStepExecutor
- Execute the step
- Specified by:
executeNodeStep
in interface NodeStepExecutor
- Throws:
NodeStepException
expandUrlString
public static java.lang.String expandUrlString(java.lang.String urlString,
java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> dataContext)
- Expand data references in a URL string, using proper encoding for path and query parts.