|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | METHOD | DETAIL: FIELD | METHOD | |||||||
org.gradle.process.ExecSpecorg.gradle.process.BaseExecSpec
org.gradle.process.ProcessForkOptions
public interface ExecSpec extends BaseExecSpec
Specified the options for executing some command.
| Method Summary | |
|---|---|
ExecSpec
|
args(Object... args)
Adds arguments for the command to be executed. |
ExecSpec
|
args(Iterable args)
Adds arguments for the command to be executed. |
ExecSpec
|
commandLine(Object... args)
Sets the full command line, including the executable to be executed plus its arguments. |
ExecSpec
|
commandLine(Iterable args)
Sets the full command line, including the executable to be executed plus its arguments. |
List
|
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(Object... args)
Sets the full command line, including the executable to be executed plus its arguments. |
void
|
setCommandLine(Iterable args)
Sets the full command line, including the executable to be executed plus its arguments. |
| Methods inherited from interface BaseExecSpec | |
|---|---|
| getCommandLine, getErrorOutput, getStandardInput, getStandardOutput, isIgnoreExitValue, setErrorOutput, setIgnoreExitValue, setStandardInput, setStandardOutput |
| Methods inherited from interface ProcessForkOptions | |
|---|---|
| copyTo, environment, environment, executable, getEnvironment, getExecutable, getWorkingDir, setEnvironment, setExecutable, setWorkingDir, workingDir |
| Method Detail |
|---|
public ExecSpec args(Object... args)
args - args for the command
public ExecSpec args(Iterable args)
args - args for the command
public ExecSpec commandLine(Object... args)
args - the command plus the args to be executed
public ExecSpec commandLine(Iterable args)
args - the command plus the args to be executed
public List getArgs()
public ExecSpec setArgs(Iterable args)
args - args for the command
public void setCommandLine(Object... args)
args - the command plus the args to be executed
public void setCommandLine(Iterable args)
args - the command plus the args to be executed
Gradle API 1.5