Package org.gradle.tooling.model.gradle
Interface ResilientGradleBuild
- All Superinterfaces:
BuildModel,Model
Provides information about the structure of a Gradle build.
This is a "resilient" version of
GradleBuild that provides information about build failures.- Since:
- 9.3.0
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether the project has failed to load the full build.@Nullable Collection<String> Returns the failure that caused the build to fail, if any.Returns the GradleBuild instanceMethods inherited from interface org.gradle.tooling.model.BuildModel
getBuildIdentifier
-
Method Details
-
getGradleBuild
GradleBuild getGradleBuild()Returns the GradleBuild instance- Returns:
- the GradleBuild instance
- Since:
- 9.3.0
-
didItFail
boolean didItFail()Returns whether the project has failed to load the full build.- Returns:
trueif the project has failed,falseotherwise.- Since:
- 9.3.0
-
getFailures
@Nullable Collection<String> getFailures()Returns the failure that caused the build to fail, if any.- Returns:
- the failure, or
nullif the build did not fail. - Since:
- 9.3.0
-