public interface ExecSpec extends BaseExecSpec
修飾子とタイプ | メソッドと説明 |
---|---|
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, setStandardOutput
copyTo, environment, environment, executable, getEnvironment, getExecutable, getWorkingDir, setEnvironment, setExecutable, setWorkingDir, workingDir
void 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