Class OperationStatus

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()
      Get the message included as part of this status.
      StatusCode getStatusCode()
      Get the status code associated with the operation status.
      boolean isSuccess()
      Does this status indicate success?
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • isSuccess

        private final boolean isSuccess
      • message

        private final java.lang.String message
    • Constructor Detail

      • OperationStatus

        public OperationStatus​(boolean success,
                               java.lang.String msg)
      • OperationStatus

        public OperationStatus​(boolean success,
                               java.lang.String msg,
                               StatusCode code)
    • Method Detail

      • isSuccess

        public boolean isSuccess()
        Does this status indicate success?
      • getMessage

        public java.lang.String getMessage()
        Get the message included as part of this status.
      • getStatusCode

        public StatusCode getStatusCode()
        Get the status code associated with the operation status.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object