@Beta public enum ApiMaturity extends Enum<ApiMaturity>
Enum Constant and Description |
---|
BETA
The API is an experimental Beta state and not recommended for productive usage
|
RELEASED
The API is released for productive usage
|
Modifier and Type | Field and Description |
---|---|
static ApiMaturity |
DEFAULT
The fallback API maturity, which is used whenever nothing else is specified.
|
Modifier and Type | Method and Description |
---|---|
static ApiMaturity |
getValueOrDefault(String identifier)
Returns the enum value for the given identifier.
|
static ApiMaturity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiMaturity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiMaturity RELEASED
public static final ApiMaturity BETA
@Nonnull public static final ApiMaturity DEFAULT
public static ApiMaturity[] values()
for (ApiMaturity c : ApiMaturity.values()) System.out.println(c);
public static ApiMaturity 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 null@Nonnull public static ApiMaturity getValueOrDefault(@Nullable String identifier)
RELEASED
if no corresponding value is found.identifier
- The String identifierCopyright © 2021 SAP SE. All rights reserved.