Enum Class Stability

java.lang.Object
java.lang.Enum<Stability>
top.magstar.framework.api.Stability
All Implemented Interfaces:
Serializable, Comparable<Stability>, Constable

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

    • STABLE

      public static final Stability STABLE
      稳定 - API 不会发生破坏性变更
    • EVOLVING

      public static final Stability EVOLVING
      演进中 - API 可能会有小的变更
    • EXPERIMENTAL

      public static final Stability EXPERIMENTAL
      实验性 - API 可能会有重大变更
    • DEPRECATED

      public static final Stability DEPRECATED
      已废弃 - API 将在未来版本中移除
  • Method Details

    • values

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