Class AzureCosmosDbFeature

java.lang.Object
io.micronaut.starter.feature.azure.AzureCosmosDbFeature
All Implemented Interfaces:
io.micronaut.core.naming.Described, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered, Feature, OneOfFeature, OpenRewriteFeature

@Requires(property="micronaut.starter.feature.azure.cosmos.db.enabled", value="true", defaultValue="true") @Singleton public class AzureCosmosDbFeature extends Object implements OneOfFeature, OpenRewriteFeature
Azure Cosmos DB Feature.
Since:
3.8.0
Author:
radovanradic
  • Constructor Details

    • AzureCosmosDbFeature

      public AzureCosmosDbFeature()
  • Method Details

    • getName

      public 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
      Returns:
      the name of the feature
    • getTitle

      public String getTitle()
      Specified by:
      getTitle in interface Feature
      Returns:
      The title of the feature
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface io.micronaut.core.naming.Described
      Specified by:
      getDescription in interface Feature
    • getCategory

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

      public Class<?> getFeatureClass()
      Specified by:
      getFeatureClass in interface OneOfFeature
    • getRecipes

      public List<String> getRecipes(GeneratorContext generatorContext)
      Specified by:
      getRecipes in interface OpenRewriteFeature