Enum Class Importance

java.lang.Object
java.lang.Enum<Importance>
com.independentsoft.msg.Importance
All Implemented Interfaces:
Serializable, Comparable<Importance>, Constable

public enum Importance extends Enum<Importance>
Indicates the message sender's opinion of the importance of a message.
  • Enum Constant Details

    • LOW

      public static final Importance LOW
      The message has low importance.
    • NORMAL

      public static final Importance NORMAL
      The message has normal importance.
    • HIGH

      public static final Importance HIGH
      The message has high importance.
    • NONE

      public static final Importance NONE
      None.
  • Method Details

    • values

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