A handler for an asynchronous operation which returns an object of type T.
- The result type.Type | Name and description |
---|---|
void |
onComplete(T result) Handles successful completion of the operation. |
void |
onFailure(GradleConnectionException failure) Handles a failed operation. |
Handles successful completion of the operation.
result
- the resultHandles a failed operation. This method is invoked once only for a given operation.
failure
- the failure