Package de.dlr.proseo.logging.messages
Enum Class GeneralMessage
- All Implemented Interfaces:
ProseoMessage,Serializable,Comparable<GeneralMessage>,Constable
A collection of messages needed across services.
- Author:
- Katharina Bassler
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintgetCode()Get the message's code.Get a more detailed description of the message's purpose.org.slf4j.event.LevelgetLevel()Get the message's level.Get the message.booleanGet the message's success.static GeneralMessageReturns the enum constant of this class with the specified name.static GeneralMessage[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXCEPTION_ENCOUNTERED
-
FACILITY_NOT_AVAILABLE
-
FALSE
-
ILLEGAL_CROSS_MISSION_ACCESS
-
ILLEGAL_FACILITY_STATE_TRANSITION
-
ILLEGAL_JOB_STATE_TRANSITION
-
ILLEGAL_ORDER_STATE_TRANSITION
-
INITIALIZING_AUTHENTICATION
-
INITIALIZING_USER_DETAILS_SERVICE
-
INVALID_PROCESSING_MODE
-
OK
-
RUNTIME_EXCEPTION_ENCOUNTERED
-
TRUE
-
UNDEFINED
-
TOO_MANY_RESULTS
-
FIELD_NOT_SET
-
NO_UUID_MODIFICATION
-
INVALID_PARAMETER_FORMAT
-
CONCURRENT_MODIFICATION
-
-
Field Details
-
success
public final boolean success
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
getCode
public int getCode()Get the message's code.- Specified by:
getCodein interfaceProseoMessage- Returns:
- The message code.
-
getDescription
Get a more detailed description of the message's purpose.- Specified by:
getDescriptionin interfaceProseoMessage- Returns:
- A description of the message.
-
getLevel
public org.slf4j.event.Level getLevel()Get the message's level.- Specified by:
getLevelin interfaceProseoMessage- Returns:
- The message level.
-
getMessage
Get the message.- Specified by:
getMessagein interfaceProseoMessage- Returns:
- The message.
-
getSuccess
public boolean getSuccess()Get the message's success.- Specified by:
getSuccessin interfaceProseoMessage- Returns:
- The message's success.
-