|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BaseExecSpec
Specifies options for launching a child process.
| Method Summary | |
|---|---|
List<String> |
getCommandLine()
Returns the full command line, including the executable plus its arguments. |
OutputStream |
getErrorOutput()
Returns the output stream to consume standard error from the process executing the command. |
InputStream |
getStandardInput()
Returns the standard input stream for the process executing the command. |
OutputStream |
getStandardOutput()
Returns the output stream to consume standard output from the process executing the command. |
boolean |
isIgnoreExitValue()
Tells whether a non-zero exit value is ignored, or an exception thrown. |
BaseExecSpec |
setErrorOutput(OutputStream outputStream)
Sets the output stream to consume standard error from the process executing the command. |
BaseExecSpec |
setIgnoreExitValue(boolean ignoreExitValue)
Sets whether a non-zero exit value is ignored, or an exception thrown. |
BaseExecSpec |
setStandardInput(InputStream inputStream)
Sets the standard input stream for the process executing the command. |
BaseExecSpec |
setStandardOutput(OutputStream outputStream)
Sets the output stream to consume standard output from the process executing the command. |
| Methods inherited from interface org.gradle.process.ProcessForkOptions |
|---|
copyTo, environment, environment, executable, getEnvironment, getExecutable, getWorkingDir, setEnvironment, setExecutable, setWorkingDir, workingDir |
| Method Detail |
|---|
BaseExecSpec setIgnoreExitValue(boolean ignoreExitValue)
ignoreExitValue - whether a non-zero exit value is ignored, or an exception thrown
boolean isIgnoreExitValue()
false.
BaseExecSpec setStandardInput(InputStream inputStream)
inputStream - The standard input stream for the process. Must not be null.
InputStream getStandardInput()
BaseExecSpec setStandardOutput(OutputStream outputStream)
outputStream - The standard output stream for the process. Must not be null.
OutputStream getStandardOutput()
System.out.
BaseExecSpec setErrorOutput(OutputStream outputStream)
outputStream - The standard output error stream for the process. Must not be null.
OutputStream getErrorOutput()
System.err.
List<String> getCommandLine()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||