Enum Class Feature

java.lang.Object
java.lang.Enum<Feature>
react4j.annotations.Feature
All Implemented Interfaces:
Serializable, Comparable<Feature>, Constable

public enum Feature extends Enum<Feature>
Enum to declare whether a specific feature should be present.
  • Enum Constant Details

    • ENABLE

      public static final Feature ENABLE
      Feature should be present.
    • DISABLE

      public static final Feature DISABLE
      Feature should not be present.
    • AUTODETECT

      public static final Feature AUTODETECT
      Feature should be present if supporting infrastructure is detected.
  • Method Details

    • values

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