public class ScriptURLNodeStepExecutor extends java.lang.Object implements NodeStepExecutor
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
logger |
static java.lang.String |
SERVICE_IMPLEMENTATION_NAME |
static Converter<java.lang.String,java.lang.String> |
urlPathEncoder |
static Converter<java.lang.String,java.lang.String> |
urlQueryEncoder |
static java.lang.String |
UTF_8 |
Constructor and Description |
---|
ScriptURLNodeStepExecutor(Framework framework) |
Modifier and Type | Method and Description |
---|---|
NodeStepResult |
executeNodeStep(StepExecutionContext context,
NodeStepExecutionItem item,
INodeEntry node)
Execute the step
|
static java.lang.String |
expandUrlString(java.lang.String urlString,
MultiDataContext<ContextView,DataContext> dataContext,
java.lang.String nodename)
Expand data references in a URL string, using proper encoding for path and query parts.
|
ScriptFileNodeStepUtils |
getScriptUtils() |
void |
setScriptUtils(ScriptFileNodeStepUtils scriptUtils) |
public static final org.slf4j.Logger logger
public static final java.lang.String SERVICE_IMPLEMENTATION_NAME
public static final java.lang.String UTF_8
public static final Converter<java.lang.String,java.lang.String> urlPathEncoder
public static final Converter<java.lang.String,java.lang.String> urlQueryEncoder
public ScriptURLNodeStepExecutor(Framework framework)
public ScriptFileNodeStepUtils getScriptUtils()
public void setScriptUtils(ScriptFileNodeStepUtils scriptUtils)
public NodeStepResult executeNodeStep(StepExecutionContext context, NodeStepExecutionItem item, INodeEntry node) throws NodeStepException
NodeStepExecutor
executeNodeStep
in interface NodeStepExecutor
context
- contextitem
- step itemnode
- nodeNodeStepException
- on step errorpublic static java.lang.String expandUrlString(java.lang.String urlString, MultiDataContext<ContextView,DataContext> dataContext, java.lang.String nodename)
urlString
- urldataContext
- multi contextnodename
- default node context