Enum Class ProcessorMgrMessage

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

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

  • Method Details

    • values

      public static ProcessorMgrMessage[] 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 ProcessorMgrMessage 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.