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

## org.gradle
Class BuildResult

    java.lang.Object
      org.gradle.BuildResult

    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()`
`void` | `rethrowFailure()` Rethrows the build failure.

Methods inherited from class java.lang.Object
wait, wait, wait, hashCode, getClass, equals, toString, notify, 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 void rethrowFailure()

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

Groovy Documentation