Class Result

    • Constructor Detail

      • Result

        public Result​(Result.Status s,
                      String explanation)
        Deprecated.
        Build a single-value Result
        Parameters:
        s - if lower than OK, our status is set to OK
      • Result

        public Result​(Result.Status s,
                      String explanation,
                      Exception e)
        Deprecated.
        Build a single-value Result with exception
        Parameters:
        s - if lower than OK, our status is set to OK
      • Result

        public Result​(ResultLog log)
        Deprecated.
        Build a a Result based on a ResultLog, which can provide more details than a single-value Result.
    • Method Detail

      • isOk

        public boolean isOk()
        Deprecated.
        True if our status is OK - provides a convenient way of checking that.
      • getStatus

        public Result.Status getStatus()
        Deprecated.
        Return our Status