Interface Status

    • Method Detail

      • getType

        Status.StatusType getType()
        Get status type.
        Returns:
        status type, non-null.
      • getMessage

        String getMessage()
        Get error message describing an error. Required if error status.
        Returns:
        error message
      • getStackDump

        String getStackDump()
        Get stack dump where error (exception) happened. Optional.
        Returns:
        stack dump.
      • isOK

        boolean isOK()
        Convenient OK test. Same as (getType() == StatusType.OK). NOTE: this will return false on WARNING message although operation succeeded. To check if operation succeeded, use isSuccess.
        Returns:
        OK status
        See Also:
        isSuccess()
      • isSuccess

        boolean isSuccess()
        Check if operation succeeded.
        Returns:
        operation success status