Class ResultLog.Entry

  • Enclosing class:
    ResultLog

    public static class ResultLog.Entry
    extends Object
    An entry in this log
    • Constructor Detail

      • Entry

        public Entry​(Result.Status s,
                     String message)
        Parameters:
        s - The status of the message
        message - The message
      • Entry

        public Entry​(String message,
                     boolean isDebug)
        Parameters:
        message - The message with status OK
        isDebug - Whether this is a debug message
      • Entry

        public Entry​(String message,
                     boolean isDebug,
                     Exception exception)
        Parameters:
        message - The message with status OK
        isDebug - Whether this is a debug message
        exception - An exception that belongs to this message
      • Entry

        public Entry​(Result.Status s,
                     String message,
                     Exception exception)
        Parameters:
        s - The status of the message
        message - The message
        exception - An exception that belongs to this message
    • Method Detail

      • getStatus

        public Result.Status getStatus()
        Returns:
        The status of this entry
      • getLogLevel

        public String getLogLevel()
        Returns:
        The log level of this entry
      • getMessage

        public String getMessage()
        Returns:
        The message of this entry
      • getException

        public Exception getException()
        Returns:
        The exception of this entry or null if no exception exists for this message
      • isDebug

        public boolean isDebug()
        Returns:
        true if this is a debug message