Class Result<T>

java.lang.Object
net.bluemind.lib.vertx.Result<T>
All Implemented Interfaces:
io.vertx.core.AsyncResult<T>

public class Result<T> extends Object implements io.vertx.core.AsyncResult<T>
  • Method Details

    • result

      public T result()
      Specified by:
      result in interface io.vertx.core.AsyncResult<T>
    • cause

      public Throwable cause()
      Specified by:
      cause in interface io.vertx.core.AsyncResult<T>
    • succeeded

      public boolean succeeded()
      Specified by:
      succeeded in interface io.vertx.core.AsyncResult<T>
    • failed

      public boolean failed()
      Specified by:
      failed in interface io.vertx.core.AsyncResult<T>
    • success

      public static <T> io.vertx.core.AsyncResult<T> success(T r)
    • success

      public static io.vertx.core.AsyncResult<Void> success()
    • fail

      public static <T> io.vertx.core.AsyncResult<T> fail(Throwable cause)