Class StatusData.Info

java.lang.Object
de.elo.utils.webapp.status.StatusData.Info
All Implemented Interfaces:
java.lang.Comparable<StatusData.Info>
Enclosing class:
StatusData

public static class StatusData.Info
extends java.lang.Object
implements java.lang.Comparable<StatusData.Info>
This class defines an information, warning, error or fatal error. Informations are printed at the bottom of the status page. Warnings, errors and fatal errors are printed at the top of the status page below the title.
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  StatusData.Info.Severity
    Severity
  • Field Summary

    Fields 
    Modifier and Type Field Description
    java.util.Date date
    Date and time when the message is created.
    java.lang.Throwable ex
    Optional exception object.
    java.lang.String msg
    Message text.
  • Constructor Summary

    Constructors 
    Constructor Description
    Info()  
    Info​(java.lang.String msg)  
    Info​(java.lang.String msg, java.lang.Throwable ex)  
  • Method Summary

    Modifier and Type Method Description
    int compareTo​(StatusData.Info o)
    Compares messages decending by date.

    Methods inherited from class java.lang.Object

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

    • date

      public java.util.Date date
      Date and time when the message is created.
    • msg

      public java.lang.String msg
      Message text.
    • ex

      public java.lang.Throwable ex
      Optional exception object.
  • Constructor Details

    • Info

      public Info()
    • Info

      public Info​(java.lang.String msg)
    • Info

      public Info​(java.lang.String msg, java.lang.Throwable ex)
  • Method Details