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