Interface ViewFeature

All Superinterfaces:
io.micronaut.core.naming.Described, Feature, io.micronaut.core.naming.Named, OneOfFeature, io.micronaut.core.order.Ordered
All Known Implementing Classes:
Freemarker, Handlebars, JTE, Pebble, React, Rocker, Soy, Thymeleaf, Velocity

public interface ViewFeature extends OneOfFeature
  • Field Details

  • Method Details

    • getFeatureClass

      default Class<?> getFeatureClass()
      Specified by:
      getFeatureClass in interface OneOfFeature
    • supports

      default 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
    • getCategory

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