A abstract task type for executing binaries that take a command as well as a set of command arguments.
| Type Params | Return Type | Name and description |
|---|---|---|
|
void |
cmdArgs(Iterable<?> args)Add more command-specific arguments. |
|
void |
cmdArgs(Object... args)Add more command-specific arguments. |
|
void |
command(Object cmd)Set the command to use. |
|
protected T |
configureExecSpec()Configures the executions specification from settings. |
|
java.util.List<String> |
getCmdArgs()Any arguments specific to the command in use |
|
String |
getCommand()The command used in this specification as a String. |
|
protected T |
getToolExecSpec()Execution specification customised for the specific tool |
|
void |
setCmdArgs(Iterable<?> args)Replace the command-specific arguments with a new set. |
|
void |
setCommand(Object cmd)Set the command to use. |
| 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 |
Add more command-specific arguments.
args - Additional list of argumentsAdd more command-specific arguments.
args - Additional list of argumentsSet the command to use.
cmd - Anything that can be resolved via StringUtils.stringizeConfigures the executions specification from settings.
Any arguments specific to the command in use
Execution specification customised for the specific tool
Replace the command-specific arguments with a new set.
args - New list of command-specific argumentsSet the command to use.
cmd - Anything that can be resolved via StringUtils.stringize