Enum Class MonitorMessage

java.lang.Object
java.lang.Enum<MonitorMessage>
de.dlr.proseo.logging.messages.MonitorMessage
All Implemented Interfaces:
ProseoMessage, Serializable, Comparable<MonitorMessage>, Constable

public enum MonitorMessage extends Enum<MonitorMessage> implements ProseoMessage
A collection of messages needed by the monitor.
Author:
Katharina Bassler
  • Enum Constant Details

    • ILLEGAL_CONFIG_VALUE

      public static final MonitorMessage ILLEGAL_CONFIG_VALUE
    • DUPLICATE_ENTRIES

      public static final MonitorMessage DUPLICATE_ENTRIES
    • WRONG_PRODUCTION_LATENCY

      public static final MonitorMessage WRONG_PRODUCTION_LATENCY
    • WRONG_TOTAL_LATENCY

      public static final MonitorMessage WRONG_TOTAL_LATENCY
    • WRONG_DOWNLOAD_SIZE

      public static final MonitorMessage WRONG_DOWNLOAD_SIZE
  • Method Details

    • values

      public static MonitorMessage[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static MonitorMessage valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public int getCode()
      Get the message's code.
      Specified by:
      getCode in interface ProseoMessage
      Returns:
      The message code.
    • getLevel

      public org.slf4j.event.Level getLevel()
      Get the message's level.
      Specified by:
      getLevel in interface ProseoMessage
      Returns:
      The message level.
    • getMessage

      public String getMessage()
      Get the message.
      Specified by:
      getMessage in interface ProseoMessage
      Returns:
      The message.
    • getDescription

      public String getDescription()
      Get a more detailed description of the message's purpose.
      Specified by:
      getDescription in interface ProseoMessage
      Returns:
      A description of the message.
    • getSuccess

      public boolean getSuccess()
      Get the message's success.
      Specified by:
      getSuccess in interface ProseoMessage
      Returns:
      The message's success.