All Implemented Interfaces:
io.micronaut.core.naming.Described, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered, Feature

@Singleton public class Data extends Object implements Feature
  • Constructor Details

    • Data

      public Data()
  • Method Details

    • getName

      @NonNull public @NonNull String getName()
      Description copied from interface: Feature
      The name of the feature. It must be unique.
      Specified by:
      getName in interface Feature
      Specified by:
      getName in interface io.micronaut.core.naming.Named
      the name of the feature
    • isVisible

      public boolean isVisible()
      Description copied from interface: Feature
      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.
      Specified by:
      isVisible in interface Feature
      True if the feature should able to be selected by the user
    • 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
      applicationType - The application type
      True if the feature can be selected by the user
    • getCategory

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