Enum Class API.Usage
- All Implemented Interfaces:
Serializable
,Comparable<API.Usage>
,Constable
- Enclosing class:
- API
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionIntended for features in early development.Should no longer be used, might disappear in the next minor release.Intended for new, experimental features where we are looking for feedback.Intended for features in drafts.Intended for features that was tested, documented and at least stable for production use.Intended for features that was tested, documented and is preferred in production use. -
Method Summary
-
Enum Constant Details
-
DEPRECATED
Should no longer be used, might disappear in the next minor release. -
INCUBATING
Intended for features in drafts. Should only be used for tests.Might contains notable new features, but will be moved to a new package before remarking to
BLEEDING
. Could be unsafe, might be removed without prior notice. Warnings will be send if used. -
BLEEDING
Intended for features in early development. Should only be used for tests.Might be unwrapped, unsafe or have unchecked parameters. Further contribution was demanded to enhance, strengthen or simplify before remarking to
EXPERIMENTAL
. Might be removed or modified without prior notice. -
EXPERIMENTAL
Intended for new, experimental features where we are looking for feedback. At least stable for development.Use with caution, might be remarked to
MAINTAINED
orSTABLE
in the future, but also might be removed without prior notice. -
MAINTAINED
Intended for features that was tested, documented and at least stable for production use.These features will not be modified in a backwards-incompatible way for at least next minor release of the current major version. Will be remarked to
DEPRECATED
first if scheduled for removal. -
STABLE
Intended for features that was tested, documented and is preferred in production use.Will not be changed in a backwards-incompatible way in the current version.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-