Package io.vertx.mutiny.ext.consul
Class WatchResult<T>
- java.lang.Object
 - 
- io.vertx.mutiny.ext.consul.WatchResult<T>
 
 
- 
public class WatchResult<T> extends Object
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static TypeArg<WatchResult>__TYPE_ARGTypeArg<T>__typeArg_0 
- 
Constructor Summary
Constructors Constructor Description WatchResult(io.vertx.ext.consul.WatchResult delegate)WatchResult(io.vertx.ext.consul.WatchResult delegate, TypeArg<T> typeArg_0)WatchResult(Object delegate, TypeArg<T> typeArg_0) 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwablecause()booleanequals(Object o)booleanfailed()io.vertx.ext.consul.WatchResultgetDelegate()inthashCode()static <T> WatchResult<T>newInstance(io.vertx.ext.consul.WatchResult arg)static <T> WatchResult<T>newInstance(io.vertx.ext.consul.WatchResult arg, TypeArg<T> __typeArg_T)TnextResult()TprevResult()booleansucceeded()StringtoString() 
 - 
 
- 
- 
Field Detail
- 
__TYPE_ARG
public static final TypeArg<WatchResult> __TYPE_ARG
 
 - 
 
- 
Method Detail
- 
getDelegate
public io.vertx.ext.consul.WatchResult getDelegate()
 
- 
prevResult
public T prevResult()
- Returns:
 - the previous result.
 
 
- 
nextResult
public T nextResult()
- Returns:
 - the next result or null if the operation failed.
 
 
- 
cause
public Throwable cause()
- Returns:
 - the cause or null if the operation succeeded.
 
 
- 
succeeded
public boolean succeeded()
- Returns:
 - true if it succeded or false otherwise
 
 
- 
failed
public boolean failed()
- Returns:
 - true if it failed or false otherwise
 
 
- 
newInstance
public static <T> WatchResult<T> newInstance(io.vertx.ext.consul.WatchResult arg)
 
- 
newInstance
public static <T> WatchResult<T> newInstance(io.vertx.ext.consul.WatchResult arg, TypeArg<T> __typeArg_T)
 
 - 
 
 -