Groovy Documentation

org.gradle
Class BuildResult

java.lang.Object
  org.gradle.BuildResult

class BuildResult
extends java.lang.Object

A BuildResult packages up the results of a build executed by a org.gradle.Gradle instance.


Constructor Summary
BuildResult(Settings settings, Build build, java.lang.Throwable failure)

 
Method Summary
Build getBuild()

java.lang.Throwable getFailure()

Settings getSettings()

void rethrowFailure()

Rethrows the build failure.

 
Methods inherited from class java.lang.Object
hashCode, getClass, equals, toString, wait, wait, wait, notify, notifyAll
 

Constructor Detail

BuildResult

public BuildResult(Settings settings, Build build, java.lang.Throwable failure)


 
Method Detail

getBuild

public Build getBuild()


getFailure

public java.lang.Throwable getFailure()


getSettings

public Settings getSettings()


rethrowFailure

public void rethrowFailure()

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


 

Groovy Documentation