Interface ScriptFileCommandExecutionItem
-
- All Superinterfaces:
HandlerExecutionItem,NodeStepExecutionItem,StepExecutionItem
- All Known Implementing Classes:
ScriptFileCommand
public interface ScriptFileCommandExecutionItem extends HandlerExecutionItem, NodeStepExecutionItem
ScriptFileCommandExecutionItem is ...
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]getArgs()java.lang.StringgetFileExtension()Get the server-local script pathbooleangetInterpreterArgsQuoted()Get the server-local script pathjava.lang.StringgetScript()Get the full scriptjava.io.InputStreamgetScriptAsStream()Get an InputStream that can provide the full scriptjava.lang.StringgetScriptInterpreter()Get the server-local script pathjava.lang.StringgetServerScriptFilePath()Get the server-local script pathbooleanisExpandTokenInScriptFile()Get the server-local script path-
Methods inherited from interface com.dtolabs.rundeck.core.execution.HandlerExecutionItem
isKeepgoingOnSuccess
-
Methods inherited from interface com.dtolabs.rundeck.core.execution.workflow.steps.node.NodeStepExecutionItem
getNodeStepType, isNodeStep
-
Methods inherited from interface com.dtolabs.rundeck.core.execution.StepExecutionItem
getLabel, getType
-
-
-
-
Method Detail
-
getScript
java.lang.String getScript()
Get the full script- Returns:
- the script string
-
getScriptAsStream
java.io.InputStream getScriptAsStream()
Get an InputStream that can provide the full script- Returns:
- the inputstream
-
getServerScriptFilePath
java.lang.String getServerScriptFilePath()
Get the server-local script path- Returns:
- server-side script path
-
getArgs
java.lang.String[] getArgs()
- Returns:
- arguments to the script
-
getScriptInterpreter
java.lang.String getScriptInterpreter()
Get the server-local script path- Returns:
- server-side script path
-
getFileExtension
java.lang.String getFileExtension()
Get the server-local script path- Returns:
- server-side script path
-
getInterpreterArgsQuoted
boolean getInterpreterArgsQuoted()
Get the server-local script path- Returns:
- server-side script path
-
isExpandTokenInScriptFile
boolean isExpandTokenInScriptFile()
Get the server-local script path- Returns:
- server-side script path
-
-