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 failures. |
Handles successful completion of the operation.
result
- the resultHandles failures. A failure happens when the target Gradle version does not support the features required to build this model. For example, when you have configured the long running operation with a settings like: LongRunningOperation.setStandardInput, LongRunningOperation.setJavaHome, LongRunningOperation.setJvmArguments but those settings are not supported on the target Gradle.
failure
- the failure