Enum Stability

java.lang.Object
java.lang.Enum<Stability>
org.forgerock.api.enums.Stability
All Implemented Interfaces:
Serializable, Comparable<Stability>

public enum Stability extends Enum<Stability>
Represents API stability.
  • Enum Constant Details

    • STABLE

      public static final Stability STABLE
      Stable API (default), suggested for use by all clients.
    • INTERNAL

      public static final Stability INTERNAL
      Internal API that may change or be removed at any time.
    • EVOLVING

      public static final Stability EVOLVING
      Evolving API that may changed at any time.
    • DEPRECATED

      public static final Stability DEPRECATED
      Deprecated API, that should not be used and may be removed in the future.
    • REMOVED

      public static final Stability REMOVED
      Removed API, that remains available for some technical reason and may return an error if used.
  • Method Details

    • values

      public static Stability[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Stability valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null