Class FeatureDTO

java.lang.Object
io.micronaut.starter.api.Linkable
io.micronaut.starter.api.FeatureDTO
All Implemented Interfaces:
io.micronaut.core.naming.Described, io.micronaut.core.naming.Named

@Introspected public class FeatureDTO extends Linkable implements io.micronaut.core.naming.Named, io.micronaut.core.naming.Described
Represents an application feature.
Since:
1.0.0
Author:
graemerocher
  • Constructor Details

    • FeatureDTO

      public FeatureDTO(Feature feature, io.micronaut.context.MessageSource messageSource, io.micronaut.context.MessageSource.MessageContext messageContext)
      Default constructor.
      Parameters:
      feature - The feature
      messageSource - The message source
      messageContext - The messageContext
    • FeatureDTO

      @Creator public FeatureDTO(String name, String title, String description, String category, boolean preview, boolean community)
      Default constructor.
      Parameters:
      name - The name
      title - The title
      description - The description
      category - The category
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface io.micronaut.core.naming.Named
      Returns:
      The name of the feature
    • getTitle

      public String getTitle()
      Returns:
      The title of the feature
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface io.micronaut.core.naming.Described
      Returns:
      The description of the feature
    • getCategory

      public String getCategory()
      Returns:
      The category to which this feature belongs to
    • isPreview

      public boolean isPreview()
      Returns:
      Is the feature a preview status feature
    • isCommunity

      public boolean isCommunity()
      Returns:
      Is the feature a community contributed feature.