Interface DataFeature

All Superinterfaces:
io.micronaut.core.naming.Described, Feature, io.micronaut.core.naming.Named, OneOfFeature, io.micronaut.core.order.Ordered
All Known Subinterfaces:
DataDocumentFeature
All Known Implementing Classes:
DataAzureCosmosFeature, DataHibernateReactive, DataJdbc, DataJpa, DataMongo, DataMongoFeature, DataMongoReactive, DataR2dbc

public interface DataFeature extends OneOfFeature
  • Field Details

  • Method Details

    • getFeatureClass

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

      default Map<String,Object> getDatasourceConfig(GeneratorContext generatorContext, DatabaseDriverFeature driverFeature)
    • dataProcessorDependency

      static Dependency dataProcessorDependency(BuildTool buildTool)
    • dataProcessorDependency

      static Dependency dataProcessorDependency(BuildTool buildTool, String artifactId, int order)
    • 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.