Package eu.bandm.tools.message
Enum Class Message.Kind
- All Implemented Interfaces:
Serializable
,Comparable<Message.Kind>
,java.lang.constant.Constable
- Enclosing class:
- Message
Fundamental enum type for categorization of all
Message
objects.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSevere error in processing which forbids using the results.Severe error in processing which comes from faulty programming or system behaviour, thus should be reported to the coders.Additional information to a preceding message.A logging message, usually reports exection progressA logging message, reports the end of a processing phaseA logging message, reports the start of a processing phaseWarning about doubtable input data or program behaviour. -
Field Summary
Modifier and TypeFieldDescriptionfinal boolean
-
Method Summary
Modifier and TypeMethodDescriptionstatic Message.Kind
Returns the enum constant of this class with the specified name.static Message.Kind[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
log
A logging message, usually reports exection progress -
logStart
A logging message, reports the start of a processing phase -
logEnd
A logging message, reports the end of a processing phase -
hint
Additional information to a preceding message. -
warning
Warning about doubtable input data or program behaviour. -
error
Severe error in processing which forbids using the results. -
failure
Severe error in processing which comes from faulty programming or system behaviour, thus should be reported to the coders.
-
-
Field Details
-
isCritical
public final boolean isCritical
-
-
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
-