public interface ExecSpec extends BaseExecSpec
Modifier and Type | Method and 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.
|
ExecSpec |
setArgs(java.lang.Iterable<?> 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.
|
getCommandLine, getErrorOutput, getStandardInput, getStandardOutput, isIgnoreExitValue, setErrorOutput, setIgnoreExitValue, setStandardInput, setStandardOutput
copyTo, environment, environment, executable, getEnvironment, getExecutable, getWorkingDir, setEnvironment, setExecutable, setWorkingDir, workingDir
void 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.lang.Iterable<?> args)
args
- args for the commandjava.util.List<java.lang.String> getArgs()