Package org.forgerock.api.enums
Enum Stability
- java.lang.Object
-
- java.lang.Enum<Stability>
-
- org.forgerock.api.enums.Stability
-
- All Implemented Interfaces:
Serializable
,Comparable<Stability>
public enum Stability extends Enum<Stability>
Represents API stability.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEPRECATED
Deprecated API, that should not be used and may be removed in the future.EVOLVING
Evolving API that may changed at any time.INTERNAL
Internal API that may change or be removed at any time.REMOVED
Removed API, that remains available for some technical reason and may return an error if used.STABLE
Stable API (default), suggested for use by all clients.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Stability
valueOf(String name)
Returns the enum constant of this type with the specified name.static Stability[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STABLE
public static final Stability STABLE
Stable API (default), suggested for use by all clients.
-
INTERNAL
public static final Stability INTERNAL
Internal API that may change or be removed at any time.
-
EVOLVING
public static final Stability EVOLVING
Evolving API that may changed at any time.
-
DEPRECATED
public static final Stability DEPRECATED
Deprecated API, that should not be used and may be removed in the future.
-
REMOVED
public static final Stability REMOVED
Removed API, that remains available for some technical reason and may return an error if used.
-
-
Method Detail
-
values
public static Stability[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Stability c : Stability.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Stability valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-