Enum Class Stability.Level

java.lang.Object
java.lang.Enum<Stability.Level>
software.amazon.jsii.Stability.Level
All Implemented Interfaces:
Serializable, Comparable<Stability.Level>, java.lang.constant.Constable
Enclosing class:
Stability

public static enum Stability.Level extends Enum<Stability.Level>
Stability level of an API, similar to the Node.js stability index.
See Also:
  • Enum Constant Details

    • Experimental

      public static final Stability.Level Experimental
      The API is not subject to Semantic Versioning rules. Non-backward compatible changes or removal may occur in any future release. Use of the API is not recommended in production environments.
    • Stable

      public static final Stability.Level Stable
      The API is subject to Sematic Versining rules. It may not change in non-backward compatible ways in a subsequent patch or feature version.
    • Deprecated

      public static final Stability.Level Deprecated
      The API may emit warnings. Backward compatibility is not guaranteed. APIs annotated with the Deprecated level should also be annotated with the standard Deprecated annotation.
    • External

      public static final Stability.Level External
      This API is an representation of an API managed elsewhere and follows the other API's versioning model.
  • Method Details

    • values

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