A abstract task type for executing binaries that take a command as well as a set of command arguments.
| Type | Name and description |
|---|---|
String |
script |
Iterable<?> |
scriptArgs |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected T |
configureExecSpec()Configures the executions specification from settings. |
|
String |
getScript()The script used in this specification as a String. |
|
java.util.List<String> |
getScriptArgs()Any arguments specific to the script in use |
|
void |
script(Object cmd)Set the script to use. |
|
void |
scriptArgs(Iterable<?> args)Add more script-specific arguments. |
|
void |
scriptArgs(Object... args)Add more script-specific arguments. |
|
void |
setScript(Object cmd)Set the script to use. |
|
void |
setScriptArgs(Iterable<?> args)Replace the script-specific arguments with a new set. |
| Methods inherited from class | Name |
|---|---|
class AbstractExecTask |
configureExecSpec, createExecSpec, environment, environment, errorOutput, exeArgs, exeArgs, exec, getCommandLine, getEnvironment, getErrorOutput, getExeArgs, getExecResult, getExecSpec, getExecutable, getStandardInput, getStandardOutput, getWorkingDir, ignoreExitValue, isIgnoreExitValue, setEnvironment, setErrorOutput, setExeArgs, setIgnoreExitValue, setStandardInput, setStandardOutput, setToolExecutable, setWorkingDir, standardInput, standardOutput, workingDir |
Configures the executions specification from settings.
Any arguments specific to the script in use
Set the script to use.
cmd - Anything that can be resolved via StringUtils.stringizeAdd more script-specific arguments.
args - Additional list of argumentsAdd more script-specific arguments.
args - Additional list of argumentsSet the script to use.
cmd - Anything that can be resolved via StringUtils.stringizeReplace the script-specific arguments with a new set.
args - New list of script-specific arguments