For AI agents: the documentation index is at https://docs.gradle.org/llms.txt. Request any page with the header Accept: text/markdown to get Markdown. User manual pages are also available as Markdown by replacing .html with .md in the URL.

FetchModelResult

@NullMarked
interface FetchModelResult<M>(source)

Carries the result of a single model fetch operation.

Since

9.3.0

Parameters

<M>

The fetched model type.

Functions

Link copied to clipboard
Returns the failures that occurred during the fetch operation.
Link copied to clipboard
@Nullable
abstract fun getModel(): @Nullable M
Returns the fetched model.