Enum Class MessageLevel

java.lang.Object
java.lang.Enum<MessageLevel>
com.qfs.snl.messages.MessageLevel
All Implemented Interfaces:
Serializable, Comparable<MessageLevel>, java.lang.constant.Constable

public enum MessageLevel extends Enum<MessageLevel>
The various levels of messages.
Author:
ActiveViam
  • Enum Constant Details Link icon

    • DEFAULT Link icon

      public static final MessageLevel DEFAULT
      Default level of message, without a particular meaning.
    • INFO Link icon

      public static final MessageLevel INFO
      Type for notifications.
    • SUCCESS Link icon

      public static final MessageLevel SUCCESS
      Type to inform of the successful execution of an action.
    • WARNING Link icon

      public static final MessageLevel WARNING
      Type to warn the user.
    • DANGER Link icon

      public static final MessageLevel DANGER
      Type to inform of the problematic execution of an action.
  • Method Details Link icon

    • values Link icon

      public static MessageLevel[] 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 Link icon

      public static MessageLevel 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