public interface LanguageFeature extends DefaultFeature
Modifier and Type | Method and Description |
---|---|
default int |
getOrder()
The order of a feature controls the order in which it applies.
|
default boolean |
isGroovy() |
default boolean |
isJava() |
default boolean |
isKotlin() |
default boolean |
isVisible()
Some features should not be visible to the user because they are a common parent of other
selectable features, or they should always be applied, or any other reason.
|
default boolean |
supports(ApplicationType applicationType)
This method must be implemented to ensure it is only selectable for the desired
application types.
|
shouldApply
apply, getCategory, getDescription, getMicronautDocumentation, getName, getThirdPartyDocumentation, getTitle, isCommunity, isPreview, processSelectedFeatures
default boolean isVisible()
Feature
default int getOrder()
Feature
FeaturePhase
for a list of phases to choose from.default boolean isJava()
default boolean isGroovy()
default boolean isKotlin()
default boolean supports(ApplicationType applicationType)
Feature