Enum Class Importance

java.lang.Object
java.lang.Enum<Importance>
org.apache.camel.component.as2.api.entity.Importance
All Implemented Interfaces:
Serializable, Comparable<Importance>, Constable

public enum Importance extends Enum<Importance>
  • Enum Constant Details

    • REQUIRED

      public static final Importance REQUIRED
    • OPTIONAL

      public static final Importance OPTIONAL
  • 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
    • getImportance

      public String getImportance()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Importance>
    • get

      public static Importance get(String importance)