Enum Class PripMessage

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

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

    • MSG_INVALID_ENTITY_TYPE

      public static final PripMessage MSG_INVALID_ENTITY_TYPE
    • MSG_URI_GENERATION_FAILED

      public static final PripMessage MSG_URI_GENERATION_FAILED
    • MSG_HTTP_REQUEST_FAILED

      public static final PripMessage MSG_HTTP_REQUEST_FAILED
    • MSG_SERVICE_REQUEST_FAILED

      public static final PripMessage MSG_SERVICE_REQUEST_FAILED
    • MSG_NOT_AUTHORIZED_FOR_SERVICE

      public static final PripMessage MSG_NOT_AUTHORIZED_FOR_SERVICE
    • MSG_PRODUCT_NOT_FOUND

      public static final PripMessage MSG_PRODUCT_NOT_FOUND
    • MSG_NOT_AUTHORIZED_FOR_PRODUCT

      public static final PripMessage MSG_NOT_AUTHORIZED_FOR_PRODUCT
    • MSG_EXCEPTION

      public static final PripMessage MSG_EXCEPTION
    • MSG_FORBIDDEN

      public static final PripMessage MSG_FORBIDDEN
    • MSG_PRODUCT_NOT_AVAILABLE

      public static final PripMessage MSG_PRODUCT_NOT_AVAILABLE
    • MSG_UNSUPPORTED_FORMAT

      public static final PripMessage MSG_UNSUPPORTED_FORMAT
    • MSG_INVALID_RANGE_HEADER

      public static final PripMessage MSG_INVALID_RANGE_HEADER
    • MSG_REDIRECT

      public static final PripMessage MSG_REDIRECT
    • MSG_TOKEN_CREATED

      public static final PripMessage MSG_TOKEN_CREATED
    • MSG_TOKEN_INVALID

      public static final PripMessage MSG_TOKEN_INVALID
    • MSG_TOKEN_EXPIRED

      public static final PripMessage MSG_TOKEN_EXPIRED
    • MSG_GRANT_TYPE_INVALID

      public static final PripMessage MSG_GRANT_TYPE_INVALID
    • MSG_USERNAME_INVALID

      public static final PripMessage MSG_USERNAME_INVALID
    • MSG_CREDENTIAL_MISMATCH

      public static final PripMessage MSG_CREDENTIAL_MISMATCH
    • MSG_SUPERFLUOUS_PARAMETERS

      public static final PripMessage MSG_SUPERFLUOUS_PARAMETERS
    • MSG_INVALID_QUERY_CONDITION

      public static final PripMessage MSG_INVALID_QUERY_CONDITION
    • MSG_INVALID_QUERY_RESULT

      public static final PripMessage MSG_INVALID_QUERY_RESULT
    • MSG_QUOTA_EXCEEDED

      public static final PripMessage MSG_QUOTA_EXCEEDED
    • MSG_USER_LOGGED_IN

      public static final PripMessage MSG_USER_LOGGED_IN
    • MSG_AUTH_MISSING_OR_INVALID

      public static final PripMessage MSG_AUTH_MISSING_OR_INVALID
    • MSG_NOT_AUTHORIZED_FOR_PRIP

      public static final PripMessage MSG_NOT_AUTHORIZED_FOR_PRIP
    • MSG_INVALID_OPERAND_TYPE

      public static final PripMessage MSG_INVALID_OPERAND_TYPE
    • MSG_INVALID_OPERATOR_TYPE

      public static final PripMessage MSG_INVALID_OPERATOR_TYPE
    • MSG_MISSING_OPERAND_NAME

      public static final PripMessage MSG_MISSING_OPERAND_NAME
    • MSG_UNEXPECTED_URI

      public static final PripMessage MSG_UNEXPECTED_URI
    • MSG_UNEXPECTED_URI_VAR

      public static final PripMessage MSG_UNEXPECTED_URI_VAR
    • MSG_UNEXPECTED_SUB_URI

      public static final PripMessage MSG_UNEXPECTED_SUB_URI
    • MSG_UNEXPECTED_PROPERTY

      public static final PripMessage MSG_UNEXPECTED_PROPERTY
    • MSG_CANNOT_CONVERT_COORD

      public static final PripMessage MSG_CANNOT_CONVERT_COORD
    • MSG_EXCEPTION_SET_RESP

      public static final PripMessage MSG_EXCEPTION_SET_RESP
    • MSG_EXCEPTION_PIS

      public static final PripMessage MSG_EXCEPTION_PIS
    • MSG_EXCEPTION_PQC

      public static final PripMessage MSG_EXCEPTION_PQC
    • MSG_INVALID_COORDINATES

      public static final PripMessage MSG_INVALID_COORDINATES
  • Method Details

    • values

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