Package org.gradle.process
Schnittstelle ExecOutput
public interface ExecOutput
Provides lazy access to the output of the external process.
- Seit:
- 7.5
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypSchnittstelleBeschreibungstatic interfaceA handle to access content of the process' standard stream (the standard output of the standard error output). -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns a provider of the execution result.Gets a handle to the content of the process' standard error output.Gets a handle to the content of the process' standard output.
-
Methodendetails
-
getResult
Provider<ExecResult> getResult()Returns a provider of the execution result.The external process is executed only once and only when the value is requested for the first time.
If starting the process results in exception then the ensuing exception is permanently propagated to callers of
Provider.get(),Provider.getOrElse(T),Provider.getOrNull()andProvider.isPresent().- Gibt zurück:
- provider of the execution result.
-
getStandardOutput
ExecOutput.StandardStreamContent getStandardOutput()Gets a handle to the content of the process' standard output.- Gibt zurück:
- handle of the standard output of the process.
-
getStandardError
ExecOutput.StandardStreamContent getStandardError()Gets a handle to the content of the process' standard error output.- Gibt zurück:
- handle of the standard error output of the process.
-