BaseExecSpec
, ProcessForkOptions
AbstractExecTask
, Exec
, RunTestExecutable
public interface ExecSpec extends BaseExecSpec
Modifier and Type | Method | Description |
---|---|---|
ExecSpec |
args(java.lang.Iterable<?> args) |
Adds arguments for the command to be executed.
|
ExecSpec |
args(java.lang.Object... args) |
Adds arguments for the command to be executed.
|
ExecSpec |
commandLine(java.lang.Iterable<?> args) |
Sets the full command line, including the executable to be executed plus its arguments.
|
ExecSpec |
commandLine(java.lang.Object... args) |
Sets the full command line, including the executable to be executed plus its arguments.
|
java.util.List<java.lang.String> |
getArgs() |
Returns the arguments for the command to be executed.
|
java.util.List<CommandLineArgumentProvider> |
getArgumentProviders() |
Argument providers for the application.
|
ExecSpec |
setArgs(java.lang.Iterable<?> args) |
Sets the arguments for the command to be executed.
|
ExecSpec |
setArgs(java.util.List<java.lang.String> args) |
Sets the arguments for the command to be executed.
|
void |
setCommandLine(java.lang.Iterable<?> args) |
Sets the full command line, including the executable to be executed plus its arguments.
|
void |
setCommandLine(java.lang.Object... args) |
Sets the full command line, including the executable to be executed plus its arguments.
|
void |
setCommandLine(java.util.List<java.lang.String> args) |
Sets the full command line, including the executable to be executed plus its arguments.
|
getCommandLine, getErrorOutput, getStandardInput, getStandardOutput, isIgnoreExitValue, setErrorOutput, setIgnoreExitValue, setStandardInput, setStandardOutput
copyTo, environment, environment, executable, getEnvironment, getExecutable, getWorkingDir, setEnvironment, setExecutable, setExecutable, setWorkingDir, setWorkingDir, workingDir
void setCommandLine(java.util.List<java.lang.String> args)
args
- the command plus the args to be executedvoid setCommandLine(java.lang.Object... args)
args
- the command plus the args to be executedvoid setCommandLine(java.lang.Iterable<?> args)
args
- the command plus the args to be executedExecSpec commandLine(java.lang.Object... args)
args
- the command plus the args to be executedExecSpec commandLine(java.lang.Iterable<?> args)
args
- the command plus the args to be executedExecSpec args(java.lang.Object... args)
args
- args for the commandExecSpec args(java.lang.Iterable<?> args)
args
- args for the commandExecSpec setArgs(java.util.List<java.lang.String> args)
args
- args for the commandExecSpec setArgs(java.lang.Iterable<?> args)
args
- args for the commandjava.util.List<java.lang.String> getArgs()
java.util.List<CommandLineArgumentProvider> getArgumentProviders()