Package software.amazon.jsii
Enum Class Stability.Level
- All Implemented Interfaces:
Serializable,Comparable<Stability.Level>,java.lang.constant.Constable
- Enclosing class:
Stability
Stability level of an API, similar to the Node.js stability index.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe API may emit warnings.The API is not subject to Semantic Versioning rules.This API is an representation of an API managed elsewhere and follows the other API's versioning model.The API is subject to Sematic Versining rules. -
Method Summary
Modifier and TypeMethodDescriptionstatic Stability.LevelReturns the enum constant of this class with the specified name.static Stability.Level[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
The API may emit warnings. Backward compatibility is not guaranteed. APIs annotated with theDeprecatedlevel should also be annotated with the standardDeprecatedannotation. -
External
This API is an representation of an API managed elsewhere and follows the other API's versioning model.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-