Enum Class Message.Kind

java.lang.Object
java.lang.Enum<Message.Kind>
eu.bandm.tools.message.Message.Kind
All Implemented Interfaces:
Serializable, Comparable<Message.Kind>, java.lang.constant.Constable
Enclosing class:
Message

public static enum Message.Kind extends Enum<Message.Kind>
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 Constants
    Enum Constant
    Description
    Severe 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 progress
    A logging message, reports the end of a processing phase
    A logging message, reports the start of a processing phase
    Warning about doubtable input data or program behaviour.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final boolean
    Distinguishes in many processing situations between error and failure vs.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    static Message.Kind[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • log

      public static final Message.Kind log
      A logging message, usually reports exection progress
    • logStart

      public static final Message.Kind logStart
      A logging message, reports the start of a processing phase
    • logEnd

      public static final Message.Kind logEnd
      A logging message, reports the end of a processing phase
    • hint

      public static final Message.Kind hint
      Additional information to a preceding message.
    • warning

      public static final Message.Kind warning
      Warning about doubtable input data or program behaviour.
    • error

      public static final Message.Kind error
      Severe error in processing which forbids using the results.
    • failure

      public static final Message.Kind 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
      Distinguishes in many processing situations between error and failure vs. all others.
  • Method Details

    • values

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