T
- The result type.public interface ResultHandler<T>
Modifier and Type | Method and Description |
---|---|
void |
onComplete(T result)
Handles successful completion of the operation.
|
void |
onFailure(GradleConnectionException failure)
Handles failures.
|
void onComplete(T result)
result
- the resultvoid onFailure(GradleConnectionException failure)
LongRunningOperation.setStandardInput(java.io.InputStream)
, LongRunningOperation.setJavaHome(java.io.File)
, LongRunningOperation.setJvmArguments(String...)
but those settings are not supported on the target Gradle.failure
- the failure