@Singleton public class ShadePlugin extends java.lang.Object implements DefaultFeature
| Constructor and Description |
|---|
ShadePlugin() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCategory() |
java.lang.String |
getDescription() |
java.lang.String |
getName()
The name of the feature.
|
java.lang.String |
getTitle() |
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.
|
boolean |
shouldApply(ApplicationType applicationType,
Options options,
java.util.Set<Feature> selectedFeatures)
Determines if the feature should be applied to the project.
|
boolean |
supports(ApplicationType applicationType)
This method must be implemented to ensure it is only selectable for the desired
application types.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapply, getMicronautDocumentation, getOrder, getThirdPartyDocumentation, isPreview, processSelectedFeaturespublic boolean shouldApply(ApplicationType applicationType, Options options, java.util.Set<Feature> selectedFeatures)
DefaultFeatureshouldApply in interface DefaultFeatureapplicationType - The application typeoptions - The optionsselectedFeatures - The features manually selected by the user@NonNull public java.lang.String getName()
Featurepublic boolean isVisible()
Featurepublic boolean supports(ApplicationType applicationType)
Featurepublic java.lang.String getTitle()
public java.lang.String getDescription()
getDescription in interface io.micronaut.core.naming.DescribedgetDescription in interface Featurepublic java.lang.String getCategory()
getCategory in interface FeatureCategory to which the feature belongs to.