java.lang.Object
io.helidon.common.Api
Annotations used to describe and enforce Helidon API stability contracts.
Public top-level APIs in Helidon production modules are expected to declare exactly one stability annotation:
Api.Internal- Helidon implementation detail, not for external useApi.Incubating- exploratory API that may change or be removed in any releaseApi.Preview- supported but still evolving API that may change between minor releasesApi.Stable- supported API that is backward compatible within the current major version
Api.Stable > Api.Preview
> Api.Incubating > Api.Internal.
Deprecation is separate from stability. Use Deprecated together with the relevant stability
annotation to indicate planned removal.
Consumers can suppress API-stability diagnostics with SuppressWarnings, using the constants
provided here for stability annotations, deprecation for deprecated APIs, or SUPPRESS_ALL to
suppress all Helidon API-stability diagnostics.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceAn incubating API (type, method, or constructor).static @interfaceAn internal API (type, method, or constructor).static @interfaceA preview API (type, method, or constructor).static @interfaceAPI may add this annotation to mark the first Helidon version that contains the current contract.static @interfaceStable API. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringSuppression constant to ignore any diagnostic reported by the Helidon API-stability processor.static final StringSuppression constant to ignore any use of Helidon incubating APIs.static final StringSuppression constant to ignore any use of Helidon internal APIs.static final StringSuppression constant to ignore any use of Helidon preview APIs. -
Method Summary
-
Field Details
-
SUPPRESS_ALL
Suppression constant to ignore any diagnostic reported by the Helidon API-stability processor.- See Also:
-
SUPPRESS_PREVIEW
Suppression constant to ignore any use of Helidon preview APIs.- See Also:
-
SUPPRESS_INCUBATING
Suppression constant to ignore any use of Helidon incubating APIs.- See Also:
-
SUPPRESS_INTERNAL
Suppression constant to ignore any use of Helidon internal APIs.- See Also:
-