Class Pipe.Result

  • All Implemented Interfaces:
    Result
    Enclosing class:
    Pipe

    public static class Pipe.Result
    extends java.lang.Object
    implements Result
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int error  
      java.lang.Exception exception  
      java.lang.Object result  
    • Constructor Summary

      Constructors 
      Constructor Description
      Result​(int error)  
      Result​(java.lang.Exception exception)  
      Result​(java.lang.Object result)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int error()  
      java.lang.Exception exception()  
      boolean isSuccess()  
      java.lang.Object result()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • result

        public final java.lang.Object result
      • exception

        public final java.lang.Exception exception
      • error

        public final int error
    • Constructor Detail

      • Result

        public Result​(java.lang.Object result)
      • Result

        public Result​(java.lang.Exception exception)
      • Result

        public Result​(int error)
    • Method Detail

      • isSuccess

        public boolean isSuccess()
        Specified by:
        isSuccess in interface Result
      • result

        public java.lang.Object result()
        Specified by:
        result in interface Result
      • exception

        public java.lang.Exception exception()
        Specified by:
        exception in interface Result
      • error

        public int error()
        Specified by:
        error in interface Result