Package org.gradle
Class BuildResult
- java.lang.Object
-
- org.gradle.BuildResult
-
public class BuildResult extends Object
A
BuildResultpackages up the results of a build executed by aGradleLauncherinstance.
-
-
Constructor Summary
Constructors Constructor Description BuildResult(String action, Gradle gradle, Throwable failure)BuildResult(Gradle gradle, Throwable failure)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAction()The action performed by this build.ThrowablegetFailure()GradlegetGradle()BuildResultrethrowFailure()Rethrows the build failure.
-
-
-
Method Detail
-
getAction
public String getAction()
The action performed by this build. Either `Build` or `Configure`.
-
rethrowFailure
public BuildResult rethrowFailure()
Rethrows the build failure. Does nothing if there was no build failure.
-
-