Package io.apicurio.registry.resolver
Class ERCache.Result<T,E extends Exception>
- java.lang.Object
-
- io.apicurio.registry.resolver.ERCache.Result<T,E>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T,E extends Exception>
ERCache.Result<T,E>error(E error)booleanisError()booleanisOk()static <T,E extends Exception>
ERCache.Result<T,E>ok(T ok)
-
-
-
Method Detail
-
ok
public static <T,E extends Exception> ERCache.Result<T,E> ok(T ok)
-
error
public static <T,E extends Exception> ERCache.Result<T,E> error(E error)
-
isOk
public boolean isOk()
-
isError
public boolean isError()
-
-