|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExecSpec
Specified the options for executing some command.
Method Summary | |
---|---|
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. |
Methods inherited from interface org.gradle.process.BaseExecSpec |
---|
getCommandLine, getErrorOutput, getStandardInput, getStandardOutput, isIgnoreExitValue, setErrorOutput, setIgnoreExitValue, setStandardInput, setStandardOutput |
Methods inherited from interface org.gradle.process.ProcessForkOptions |
---|
copyTo, environment, environment, executable, getEnvironment, getExecutable, getWorkingDir, setEnvironment, setExecutable, setWorkingDir, workingDir |
Method Detail |
---|
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 executed
ExecSpec commandLine(Iterable<?> args)
args
- the command plus the args to be executed
ExecSpec args(Object... args)
args
- args for the command
ExecSpec args(Iterable<?> args)
args
- args for the command
ExecSpec setArgs(Iterable<?> args)
args
- args for the command
List<String> getArgs()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |