Package org.gradle.tooling
Interface FetchModelResult<M>
- Type Parameters:
M- The fetched model type.
Carries the result of a single model fetch operation.
- Since:
- 9.3.0
-
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends Failure> Returns the failures that occurred during the fetch operation.@Nullable MgetModel()Returns the fetched model.
-
Method Details
-
getModel
Returns the fetched model.- Returns:
- the model, or
nullif the fetch operation failed - Since:
- 9.3.0
-
getFailures
Returns the failures that occurred during the fetch operation.- Returns:
- a collection of failures, empty if the fetch operation was successful
- Since:
- 9.3.0
-