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.

ResultHandler

interface ResultHandler<T>(source)

A handler for an asynchronous operation which returns an object of type T.

Since

1.0

Parameters

<T>

The result type.

Functions

Link copied to clipboard
abstract fun onComplete(result: T)
Handles successful completion of the operation.
Link copied to clipboard
abstract fun onFailure(failure: GradleConnectionException)
Handles a failed operation.