public static enum API.Status extends Enum<API.Status>
Enum Constant and Description |
---|
DEPRECATED
Should no longer be used.
|
EXPERIMENTAL
Intended for new, experimental features where the publisher of the
API is looking for feedback.
|
INTERNAL
Must not be used by any external code.
|
MAINTAINED
Intended for features that will not be changed in a backwards-
incompatible way for at least the next minor release of the current
major version.
|
STABLE
Intended for features that will not be changed in a backwards-
incompatible way in the current major version.
|
Modifier and Type | Method and Description |
---|---|
static API.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static API.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final API.Status INTERNAL
public static final API.Status DEPRECATED
public static final API.Status EXPERIMENTAL
Use with caution. Might be promoted to MAINTAINED
or
STABLE
in the future, but might also be removed without
prior notice.
public static final API.Status MAINTAINED
DEPRECATED
first.public static final API.Status STABLE
public static API.Status[] values()
for (API.Status c : API.Status.values()) System.out.println(c);
public static API.Status 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