Class AbstractDekorateFeature
java.lang.Object
io.micronaut.starter.feature.dekorate.AbstractDekorateFeature
- All Implemented Interfaces:
io.micronaut.core.naming.Described
,io.micronaut.core.naming.Named
,io.micronaut.core.order.Ordered
,Feature
- Direct Known Subclasses:
AbstractDekoratePlatformFeature
,AbstractDekorateServiceFeature
Abstract implementation of Dekorate feature.
- Since:
- 2.0
- Author:
- Pavol Gressa
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
boolean
boolean
supports
(ApplicationType applicationType) This method must be implemented to ensure it is only selectable for the desired application types.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.micronaut.core.naming.Described
getDescription
Methods inherited from interface io.micronaut.starter.feature.Feature
apply, getDescription, getName, getOrder, getThirdPartyDocumentation, getTitle, isCommunity, isVisible, processSelectedFeatures
-
Constructor Details
-
AbstractDekorateFeature
public AbstractDekorateFeature()
-
-
Method Details
-
getCategory
- Specified by:
getCategory
in interfaceFeature
- Returns:
- The
Category
to which the feature belongs to.
-
supports
Description copied from interface:Feature
This method must be implemented to ensure it is only selectable for the desired application types. This method is not used for determining if a default feature should be applied. -
isPreview
public boolean isPreview() -
getMicronautDocumentation
- Specified by:
getMicronautDocumentation
in interfaceFeature
- Returns:
- Returns a link to Micronaut documentation about the feature. eg. https://micronaut-projects.github.io/micronaut-cache/latest/guide/index.html#hazelcast
-