Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gradle
[Java] Class BuildResult

    java.lang.Object
      org.gradle.BuildResult

    public class BuildResult

A `BuildResult` packages up the results of a build executed by a GradleLauncher instance.

Constructor Summary
`BuildResult(Gradle gradle, java.lang.Throwable failure)`

Method Summary
`java.lang.Throwable` | `getFailure()`
`Gradle` | `getGradle()`
`BuildResult` | `rethrowFailure()` Rethrows the build failure.

Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()

Constructor Detail

### BuildResult

    public BuildResult(Gradle gradle, java.lang.Throwable failure)

Method Detail

### getFailure

    public java.lang.Throwable getFailure()

### getGradle

    public Gradle getGradle()

### rethrowFailure

    public BuildResult rethrowFailure()

  Rethrows the build failure. Does nothing if there was no build failure.

Groovy Documentation