public enum FeatureReadinessLevel extends Enum<FeatureReadinessLevel>
Enum Constant and Description |
---|
API_STABLE
The feature has undergone testing and the API is unlikely to undergo
anything else than minor changes.
|
EXPERIMENTAL
The feature is pure experimental whereby the API is likely to change,
there are no or limited test coverage and the feature is likely to
exhibit unpredictable behavior including erratic results, memory leaks,
lingering resource allocations and complete JVM crashes.
|
PREVIEW
The feature has undergone limited testing and the API is likely to change
but likely not in a material way.
|
RELEASE_CANDIDATE
The feature has undergone regular testing and the API is stable.
|
Modifier and Type | Method and Description |
---|---|
void |
assertAtLeast(FeatureReadinessLevel requiredLevel)
Throw a
SpeedmentException if the required
FeatureReadinessLevel has not been met. |
static FeatureReadinessLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FeatureReadinessLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FeatureReadinessLevel EXPERIMENTAL
THE USE OF THE FEATURE IN PRODUCTION SYSTEM IS DISALLOWED.
public static final FeatureReadinessLevel PREVIEW
THE USE OF THE FEATURE IN PRODUCTION SYSTEM IS HIGHLY DISCOURAGED.
public static final FeatureReadinessLevel API_STABLE
THE USE OF THE FEATURE IN PRODUCTION SYSTEM IS DISCOURAGED.
public static final FeatureReadinessLevel RELEASE_CANDIDATE
THE USE OF THE FEATURE IN PRODUCTION SYSTEM IS NOT RECOMMENDED.
public static FeatureReadinessLevel[] values()
for (FeatureReadinessLevel c : FeatureReadinessLevel.values()) System.out.println(c);
public static FeatureReadinessLevel 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 nullpublic void assertAtLeast(FeatureReadinessLevel requiredLevel) throws SpeedmentException
SpeedmentException
if the required
FeatureReadinessLevel
has not been met.requiredLevel
- the required readiness levelSpeedmentException
- if not metCopyright © 2018 Speedment, Inc.. All rights reserved.