Enum Class GeneralMessage

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

public enum GeneralMessage extends Enum<GeneralMessage> implements ProseoMessage
A collection of messages needed across services.
Author:
Katharina Bassler
  • Enum Constant Details

    • EXCEPTION_ENCOUNTERED

      public static final GeneralMessage EXCEPTION_ENCOUNTERED
    • FACILITY_NOT_AVAILABLE

      public static final GeneralMessage FACILITY_NOT_AVAILABLE
    • FALSE

      public static final GeneralMessage FALSE
    • ILLEGAL_CROSS_MISSION_ACCESS

      public static final GeneralMessage ILLEGAL_CROSS_MISSION_ACCESS
    • ILLEGAL_FACILITY_STATE_TRANSITION

      public static final GeneralMessage ILLEGAL_FACILITY_STATE_TRANSITION
    • ILLEGAL_JOB_STATE_TRANSITION

      public static final GeneralMessage ILLEGAL_JOB_STATE_TRANSITION
    • ILLEGAL_ORDER_STATE_TRANSITION

      public static final GeneralMessage ILLEGAL_ORDER_STATE_TRANSITION
    • INITIALIZING_AUTHENTICATION

      public static final GeneralMessage INITIALIZING_AUTHENTICATION
    • INITIALIZING_USER_DETAILS_SERVICE

      public static final GeneralMessage INITIALIZING_USER_DETAILS_SERVICE
    • INVALID_PROCESSING_MODE

      public static final GeneralMessage INVALID_PROCESSING_MODE
    • OK

      public static final GeneralMessage OK
    • RUNTIME_EXCEPTION_ENCOUNTERED

      public static final GeneralMessage RUNTIME_EXCEPTION_ENCOUNTERED
    • TRUE

      public static final GeneralMessage TRUE
    • UNDEFINED

      public static final GeneralMessage UNDEFINED
    • TOO_MANY_RESULTS

      public static final GeneralMessage TOO_MANY_RESULTS
    • FIELD_NOT_SET

      public static final GeneralMessage FIELD_NOT_SET
    • NO_UUID_MODIFICATION

      public static final GeneralMessage NO_UUID_MODIFICATION
    • INVALID_PARAMETER_FORMAT

      public static final GeneralMessage INVALID_PARAMETER_FORMAT
    • CONCURRENT_MODIFICATION

      public static final GeneralMessage CONCURRENT_MODIFICATION
  • Field Details

    • success

      public final boolean success
  • Method Details

    • values

      public static GeneralMessage[] 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 GeneralMessage 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.
    • 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.
    • 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.
    • getSuccess

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