public interface ExecSpec extends BaseExecSpec
| Modifier and Type | Method and Description | 
|---|---|
| ExecSpec | args(Iterable<?> args)Adds arguments for the command to be executed. | 
| ExecSpec | args(Object... args)Adds arguments for the command to be executed. | 
| ExecSpec | commandLine(Iterable<?> args)Sets the full command line, including the executable to be executed plus its arguments. | 
| ExecSpec | commandLine(Object... args)Sets the full command line, including the executable to be executed plus its arguments. | 
| List<String> | getArgs()Returns the arguments for the command to be executed. | 
| ExecSpec | setArgs(Iterable<?> args)Sets the arguments for the command to be executed. | 
| void | setCommandLine(Iterable<?> args)Sets the full command line, including the executable to be executed plus its arguments. | 
| void | setCommandLine(Object... args)Sets the full command line, including the executable to be executed plus its arguments. | 
getCommandLine, getErrorOutput, getStandardInput, getStandardOutput, isIgnoreExitValue, setErrorOutput, setIgnoreExitValue, setStandardInput, setStandardOutputcopyTo, environment, environment, executable, getEnvironment, getExecutable, getWorkingDir, setEnvironment, setExecutable, setWorkingDir, workingDirvoid setCommandLine(Object... args)
args - the command plus the args to be executedvoid setCommandLine(Iterable<?> args)
args - the command plus the args to be executedExecSpec commandLine(Object... args)
args - the command plus the args to be executedExecSpec commandLine(Iterable<?> args)
args - the command plus the args to be executedExecSpec args(Object... args)
args - args for the commandExecSpec args(Iterable<?> args)
args - args for the commandExecSpec setArgs(Iterable<?> args)
args - args for the command