public static enum Stability.Level extends Enum<Stability.Level>
| Enum Constant and Description |
|---|
Deprecated
The API may emit warnings.
|
Experimental
The API is not subject to Semantic Versioning rules.
|
Stable
The API is subject to Sematic Versining rules.
|
| Modifier and Type | Method and Description |
|---|---|
static Stability.Level |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Stability.Level[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Stability.Level Experimental
public static final Stability.Level Stable
public static final Stability.Level Deprecated
Deprecated
level should also be annotated with the standard Deprecated annotation.public static Stability.Level[] values()
for (Stability.Level c : Stability.Level.values()) System.out.println(c);
public static Stability.Level valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019. All rights reserved.