Class WatchResult<T>


  • public class WatchResult<T>
    extends Object
    • Constructor Detail

      • WatchResult

        public WatchResult​(WatchResult delegate)
      • WatchResult

        public WatchResult​(Object delegate,
                           TypeArg<T> typeArg_0)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • prevResult

        public T prevResult()
        The previous result of the operation.
        Returns:
        the previous result.
      • nextResult

        public T nextResult()
        The next result of the operation. This will be null if the operation failed.
        Returns:
        the next result or null if the operation failed.
      • cause

        public Throwable cause()
        A Throwable describing failure. This will be null if the operation succeeded.
        Returns:
        the cause or null if the operation succeeded.
      • succeeded

        public boolean succeeded()
        Did it succeed?
        Returns:
        true if it succeded or false otherwise
      • failed

        public boolean failed()
        Did it fail?
        Returns:
        true if it failed or false otherwise