public class BuildResult
extends java.lang.Object
A BuildResult
packages up the results of a build executed by a GradleLauncher
instance.
Constructor and Description |
---|
BuildResult(Gradle gradle,
java.lang.Throwable failure) |
Modifier and Type | Method and Description |
---|---|
java.lang.Throwable |
getFailure() |
Gradle |
getGradle() |
BuildResult |
rethrowFailure()
Rethrows the build failure.
|
public BuildResult(Gradle gradle, java.lang.Throwable failure)
public Gradle getGradle()
public java.lang.Throwable getFailure()
public BuildResult rethrowFailure()
Rethrows the build failure. Does nothing if there was no build failure.