Package org.gradle.process
Schnittstelle ExecSpec
- Alle Superschnittstellen:
BaseExecSpec,ProcessForkOptions
- Alle bekannten Implementierungsklassen:
AbstractExecTask,Exec,RunTestExecutable
Specified the options for executing some command.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungAdds arguments for the command to be executed.Adds arguments for the command to be executed.commandLine(Iterable<?> args) Sets the full command line, including the executable to be executed plus its arguments.commandLine(Object... args) Sets the full command line, including the executable to be executed plus its arguments.getArgs()Returns the arguments for the command to be executed.Argument providers for the application.Sets the arguments for the command to be executed.Sets the arguments for the command to be executed.voidsetCommandLine(Iterable<?> args) Sets the full command line, including the executable to be executed plus its arguments.voidsetCommandLine(Object... args) Sets the full command line, including the executable to be executed plus its arguments.voidsetCommandLine(List<String> args) Sets the full command line, including the executable to be executed plus its arguments.Von Schnittstelle geerbte Methoden org.gradle.process.BaseExecSpec
getCommandLine, getErrorOutput, getStandardInput, getStandardOutput, isIgnoreExitValue, setErrorOutput, setIgnoreExitValue, setStandardInput, setStandardOutputVon Schnittstelle geerbte Methoden org.gradle.process.ProcessForkOptions
copyTo, environment, environment, executable, getEnvironment, getExecutable, getWorkingDir, setEnvironment, setExecutable, setExecutable, setWorkingDir, setWorkingDir, workingDir
-
Methodendetails
-
setCommandLine
Sets the full command line, including the executable to be executed plus its arguments.- Parameter:
args- the command plus the args to be executed- Seit:
- 4.0
-
setCommandLine
Sets the full command line, including the executable to be executed plus its arguments.- Parameter:
args- the command plus the args to be executed
-
setCommandLine
Sets the full command line, including the executable to be executed plus its arguments.- Parameter:
args- the command plus the args to be executed
-
commandLine
Sets the full command line, including the executable to be executed plus its arguments.- Parameter:
args- the command plus the args to be executed- Gibt zurück:
- this
-
commandLine
Sets the full command line, including the executable to be executed plus its arguments.- Parameter:
args- the command plus the args to be executed- Gibt zurück:
- this
-
args
Adds arguments for the command to be executed.- Parameter:
args- args for the command- Gibt zurück:
- this
-
args
Adds arguments for the command to be executed.- Parameter:
args- args for the command- Gibt zurück:
- this
-
setArgs
Sets the arguments for the command to be executed.- Parameter:
args- args for the command- Gibt zurück:
- this
- Seit:
- 4.0
-
setArgs
Sets the arguments for the command to be executed.- Parameter:
args- args for the command- Gibt zurück:
- this
-
getArgs
Returns the arguments for the command to be executed. Defaults to an empty list. -
getArgumentProviders
List<CommandLineArgumentProvider> getArgumentProviders()Argument providers for the application.- Seit:
- 4.6
-