Package io.helidon.common.features.api
Annotation Interface Feature
@Deprecated(forRemoval=true,
since="4.3.0")
@Target(MODULE)
@Retention(SOURCE)
public @interface Feature
Deprecated, for removal: This API element is subject to removal in a future version.
A Helidon feature annotation to be placed on module in module-info.java.
This feature descriptor can be augmented with additioonal annotations:
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Description of this feature, to be displayed when details are printed during startup.Deprecated, for removal: This API element is subject to removal in a future version.Name of this feature. -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Which flavors will this feature be printed in.Deprecated, for removal: This API element is subject to removal in a future version.Flavors not supported by this feature - e.g.String[]
Deprecated, for removal: This API element is subject to removal in a future version.Path of this feature (a feature path).Deprecated, for removal: This API element is subject to removal in a future version.What is the first version that has seen this feature.
-
Element Details
-
value
String valueDeprecated, for removal: This API element is subject to removal in a future version.Name of this feature.- Returns:
- name
-
since
String sinceDeprecated, for removal: This API element is subject to removal in a future version.What is the first version that has seen this feature.- Returns:
- version of Helidon this feature was introduced in
- Default:
"1.0.0"
-
path
String[] pathDeprecated, for removal: This API element is subject to removal in a future version.Path of this feature (a feature path). If this is a top level feature, it can be omitted and thevalue()
would be used instead.- Returns:
- feature path
- Default:
{}
-
description
String descriptionDeprecated, for removal: This API element is subject to removal in a future version.Description of this feature, to be displayed when details are printed during startup. Should be reasonably short- Returns:
- description
-
in
HelidonFlavor[] inDeprecated, for removal: This API element is subject to removal in a future version.Which flavors will this feature be printed in.- Returns:
- flavors to print this feature, leave empty for any flavor.
- Default:
{}
-
invalidIn
HelidonFlavor[] invalidInDeprecated, for removal: This API element is subject to removal in a future version.Flavors not supported by this feature - e.g. the set up is invalid, if this feature is added to classpath of this flavor.- Returns:
- flavors that are not compatible with this feature
- Default:
{}
-
Features.Name
,Features.Path
etc. instead.