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

public abstract class AbstractDekorateFeature extends Object implements Feature
Abstract implementation of Dekorate feature.
Since:
2.0
Author:
Pavol Gressa
  • Constructor Details

    • AbstractDekorateFeature

      public AbstractDekorateFeature()
  • Method Details

    • getCategory

      public String getCategory()
      Specified by:
      getCategory in interface Feature
      Returns:
      The Category to which the feature belongs to.
    • supports

      public boolean supports(ApplicationType applicationType)
      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.
      Specified by:
      supports in interface Feature
      Parameters:
      applicationType - The application type
      Returns:
      True if the feature can be selected by the user
    • isPreview

      public boolean isPreview()
      Specified by:
      isPreview in interface Feature
      Returns:
      Indicates the feature is in preview status and is subject to change.
    • getMicronautDocumentation

      @Nullable public @Nullable String getMicronautDocumentation()
      Specified by:
      getMicronautDocumentation in interface Feature
      Returns:
      Returns a link to Micronaut documentation about the feature. eg. https://micronaut-projects.github.io/micronaut-cache/latest/guide/index.html#hazelcast