Schnittstelle ResultHandler<T>

Typparameter:
T - The result type.

public interface ResultHandler<T>
A handler for an asynchronous operation which returns an object of type T.
Seit:
1.0-milestone-3
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    onComplete(T result)
    Handles successful completion of the operation.
    void
    Handles a failed operation.
  • Methodendetails

    • onComplete

      void onComplete(T result)
      Handles successful completion of the operation.
      Parameter:
      result - the result
      Seit:
      1.0-milestone-3
    • onFailure

      void onFailure(GradleConnectionException failure)
      Handles a failed operation. This method is invoked once only for a given operation.
      Parameter:
      failure - the failure
      Seit:
      1.0-milestone-3