Package io.micronaut.starter.feature
Interface LanguageSpecificFeature
- All Superinterfaces:
io.micronaut.core.naming.Described
,Feature
,io.micronaut.core.naming.Named
,io.micronaut.core.order.Ordered
- All Known Subinterfaces:
KotlinSpecificFeature
- All Known Implementing Classes:
Config4k
,KotlinExtensionFunctions
,Ktor
,OpenRewrite
,ProjectLombok
A feature that only works with a specific language.
- Since:
- 2.0.0
- Author:
- James Kleeh
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Method Summary
Methods inherited from interface io.micronaut.core.naming.Described
getDescription
Methods inherited from interface io.micronaut.starter.feature.Feature
apply, getCategory, getDescription, getMicronautDocumentation, getName, getOrder, getThirdPartyDocumentation, getTitle, isCommunity, isPreview, isVisible, processSelectedFeatures, supports
-
Method Details
-
getRequiredLanguage
Language getRequiredLanguage()- Returns:
- The language this feature requires, or empty if the feature can be used with any language.
-