Package org.gradle.process
Interface ExecResult
-
public interface ExecResultRepresents the result of running an external process.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecResultassertNormalExitValue()Throws anExecExceptionif the process exited with a non-zero exit value.intgetExitValue()Returns the exit value of the process.ExecResultrethrowFailure()Re-throws any failure executing this process.
-
-
-
Method Detail
-
getExitValue
int getExitValue()
Returns the exit value of the process.
-
assertNormalExitValue
ExecResult assertNormalExitValue() throws org.gradle.process.internal.ExecException
Throws anExecExceptionif the process exited with a non-zero exit value.- Returns:
- this
- Throws:
org.gradle.process.internal.ExecException- if the process exited with a non-zero exit value
-
rethrowFailure
ExecResult rethrowFailure() throws org.gradle.process.internal.ExecException
Re-throws any failure executing this process.- Returns:
- this
- Throws:
org.gradle.process.internal.ExecException- the execution failure
-
-