Enum Class API.Status

java.lang.Object
java.lang.Enum<API.Status>
aQute.bnd.apiguardian.api.API.Status
All Implemented Interfaces:
Serializable, Comparable<API.Status>, Constable
Enclosing class:
API

public static enum API.Status extends Enum<API.Status>
Indicates the status of an API element and therefore its level of stability as well.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Should no longer be used.
    Intended for new, experimental features where the publisher of the API is looking for feedback.
    Must not be used by any external code.
    Intended for features that will not be changed in a backwards-incompatible way for at least the next minor release of the current major version.
    Intended for features that will not be changed in a backwards-incompatible way in the current major version.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static API.Status
    Returns the enum constant of this class with the specified name.
    static API.Status[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • INTERNAL

      public static final API.Status INTERNAL
      Must not be used by any external code. Might be removed without prior notice.
    • DEPRECATED

      public static final API.Status DEPRECATED
      Should no longer be used. Might disappear in the next minor release.
    • EXPERIMENTAL

      public static final API.Status EXPERIMENTAL
      Intended for new, experimental features where the publisher of the API is looking for feedback.

      Use with caution. Might be promoted to MAINTAINED or STABLE in the future, but might also be removed without prior notice.

    • MAINTAINED

      public static final API.Status MAINTAINED
      Intended for features that will not be changed in a backwards-incompatible way for at least the next minor release of the current major version. If scheduled for removal, such a feature will be demoted to DEPRECATED first.
    • STABLE

      public static final API.Status STABLE
      Intended for features that will not be changed in a backwards-incompatible way in the current major version.
  • Constructor Details

    • Status

      private Status()
  • Method Details

    • values

      public static API.Status[] 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 API.Status 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