public class ScriptFileCommandBase extends ScriptFileCommand implements HasFailureHandler
Constructor and Description |
---|
ScriptFileCommandBase() |
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getArgs()
Return arguments to the script
|
StepExecutionItem |
getFailureHandler()
Return the
StepExecutionItem to handle failure |
boolean |
getInterpreterArgsQuoted()
Get the server-local script path
|
java.lang.String |
getScript()
Get the full script
|
java.io.InputStream |
getScriptAsStream()
Get an InputStream that can provide the full script
|
java.lang.String |
getScriptInterpreter()
Get the server-local script path
|
java.lang.String |
getServerScriptFilePath()
Get the server-local script path
|
boolean |
isKeepgoingOnSuccess()
Return true if the handler result of success should indicate that the workflow should keep going
|
getNodeStepType, getType
public java.lang.String getScript()
ScriptFileCommandExecutionItem
getScript
in interface ScriptFileCommandExecutionItem
public java.io.InputStream getScriptAsStream()
ScriptFileCommandExecutionItem
getScriptAsStream
in interface ScriptFileCommandExecutionItem
public java.lang.String getServerScriptFilePath()
ScriptFileCommandExecutionItem
getServerScriptFilePath
in interface ScriptFileCommandExecutionItem
public java.lang.String[] getArgs()
ScriptFileCommandExecutionItem
getArgs
in interface ScriptFileCommandExecutionItem
public StepExecutionItem getFailureHandler()
HasFailureHandler
StepExecutionItem
to handle failuregetFailureHandler
in interface HasFailureHandler
public boolean isKeepgoingOnSuccess()
HandlerExecutionItem
isKeepgoingOnSuccess
in interface HandlerExecutionItem
public java.lang.String getScriptInterpreter()
ScriptFileCommandExecutionItem
getScriptInterpreter
in interface ScriptFileCommandExecutionItem
public boolean getInterpreterArgsQuoted()
ScriptFileCommandExecutionItem
getInterpreterArgsQuoted
in interface ScriptFileCommandExecutionItem