Package org.gradle.process
Schnittstelle ExecResult
public interface ExecResult
Represents the result of running an external process.
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungThrows anExecExceptionif the process exited with a non-zero exit value.intReturns the exit value of the process.Re-throws any failure executing this process.
-
Methodendetails
-
getExitValue
int getExitValue()Returns the exit value of the process. -
assertNormalExitValue
Throws anExecExceptionif the process exited with a non-zero exit value.- Gibt zurück:
- this
- Löst aus:
org.gradle.process.internal.ExecException- if the process exited with a non-zero exit value
-
rethrowFailure
Re-throws any failure executing this process.- Gibt zurück:
- this
- Löst aus:
org.gradle.process.internal.ExecException- the execution failure
-