Package io.helidon.common.features.api
Annotation Interface Feature
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
Modifier and TypeRequired ElementDescriptionDescription of this feature, to be displayed when details are printed during startup.Name of this feature. -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionWhich flavors will this feature be printed in.Flavors not supported by this feature - e.g.String[]
Path of this feature (a feature path).What is the first version that has seen this feature.
-
Element Details
-
value
String valueName of this feature.- Returns:
- name
-
since
String sinceWhat is the first version that has seen this feature.- Returns:
- version of Helidon this feature was introduced in
- Default:
"1.0.0"
-
path
String[] pathPath 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 descriptionDescription of this feature, to be displayed when details are printed during startup. Should be reasonably short- Returns:
- description
-
in
HelidonFlavor[] inWhich flavors will this feature be printed in.- Returns:
- flavors to print this feature, leave empty for any flavor.
- Default:
{}
-
invalidIn
HelidonFlavor[] invalidInFlavors 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:
{}
-