@PublicAPI(stability=UNCOMMITTED, mayInstantiate=false, mayExtend=false, mayInvoke=true) public enum StabilityLevel extends Enum<StabilityLevel>
COMMITTED
, UNCOMMITTED
, VOLAITLE
, or
OBSOLETE
stability level in order to indicate the relative
likelihood that the associated interface will be changed in an
incompatible way in the future.
COMMITTED
,
UNCOMMITTED
, or VOLATILE
, with an understanding
that the less stable an OpenDS API is, the more likely that
third-party code which relies upon it may need to be altered in
order to work properly with future versions.
COMMITTED
, UNCOMMITTED
, or
VOLATILE
is to be made private, it is strongly recommended
that it first be transitioned to OBSOLETE
before ultimately
being marked PRIVATE
.
Enum Constant and Description |
---|
COMMITTED
The associated package, class, or method may be made available
for third-party use, and the APIs that it exposes should be
considered stable.
|
OBSOLETE
The associated package, class, or method should be considered
obsolete, and no new code should be created that depends on it.
|
PRIVATE
The associated package, class, or method should be considered
part of the OpenDS private API and should not be used by
third-party code.
|
UNCOMMITTED
The associated package, class, or method may be made available
for third-party use, and the APIs that it exposes may be
considered moderately stable.
|
VOLATILE
The associated package, class, or method may be made available
for third-party use, but the APIs that it exposes should not be
considered stable.
|
Modifier and Type | Method and Description |
---|---|
static StabilityLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StabilityLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StabilityLevel COMMITTED
public static final StabilityLevel UNCOMMITTED
public static final StabilityLevel VOLATILE
VOLATILE
, even if that
those incompatible changes are expected to occur between major
releases.public static final StabilityLevel OBSOLETE
public static final StabilityLevel PRIVATE
PRIVATE
classification.public static StabilityLevel[] values()
for (StabilityLevel c : StabilityLevel.values()) System.out.println(c);
public static StabilityLevel 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 © 2010-2017 ForgeRock AS. All Rights Reserved.