Interface OpenRewriteFeature
- All Superinterfaces:
io.micronaut.core.naming.Described
,Feature
,io.micronaut.core.naming.Named
,io.micronaut.core.order.Ordered
- All Known Implementing Classes:
Acme
,AmazonSesEmailFeature
,AnthropicLangchain4jLanguageModel
,AOP
,AppOptics
,AssertJ
,Atlas
,Awaitility
,AwsParameterStore
,AwsSecretsManager
,AzureCosmosDbFeature
,AzureKeyVaultFeature
,AzureLangchain4jLanguageModel
,AzureLogging
,AzureMonitor
,BedrockLangchain4jLanguageModel
,Caffeine
,CloudWatch
,Coherence
,Core
,DataDog
,DiscoveryClient
,DiscoveryConsul
,DiscoveryCore
,DiscoveryKubernetes
,DistributedConfigConsul
,Dynatrace
,EclipseStore
,EclipseStoreRest
,EHCache
,Elastic
,Elasticsearch
,ElasticSearchLangchain4jEmbeddedStore
,Eureka
,Flyway
,Ganglia
,GoogleAiGeminiLangchain4jLanguageModel
,Graphite
,GraphQL
,Hamcrest
,Hazelcast
,HttpClient
,HttpClientJdk
,HttpClientTest
,HuggingFaceLangchain4jLanguageModel
,Humio
,Infinispan
,Influx
,JacksonXml
,JavamailFeature
,JaxRs
,JaxRsSecurity
,JdbiFeature
,Jmx
,JunitJupiterApi
,JunitJupiterEngine
,JunitParams
,JunitPlatformSuiteEngine
,Kairos
,KubernetesConfig
,Liquibase
,LocalStack
,Logback
,MailjetEmailFeature
,Management
,MicrometerAnnotations
,MicrometerObservation
,MicrometerObservationHttp
,MicronautDistributedConfigurationFeature
,MicronautGuice
,MicronautHttpValidation
,MicronautRestAssured
,MicronautSerdeJackson
,MicronautSerializationProcessor
,MicronautTestJunit5
,MicronautValidationFeature
,MistralAiLangchain4jLanguageModel
,Mockito
,Mockk
,MockServerClient
,MongoDbLangchain4jEmbeddedStore
,Multitenancy
,Neo4jLangchain4jEmbeddedStore
,NewRelic
,ObjectStorageAws
,ObjectStorageAzure
,ObjectStorageGcp
,ObjectStorageLocal
,ObjectStorageOracleCloud
,OllamaLangchain4jLanguageModel
,OpenAiLangchain4jLanguageModel
,OpenSearchLangchain4jEmbeddedStore
,OpenTelemetryExporterGoogleCloudTrace
,OpenTelemetryExporterJaeger
,OpenTelemetryExporterLogging
,OpenTelemetryExporterOtlp
,OpenTelemetryXray
,OpenTelemetryZipkin
,OracleCloud
,OracleLangchain4jEmbeddedStore
,PgVectorLangchain4jEmbeddedStore
,PostmarkEmailFeature
,Prometheus
,PrometheusPushGateway
,QdrantLangchain4jEmbeddedStore
,R2dbcPool
,Reactor
,ReactorHttpClient
,RestAssured
,SendGridEmailFeature
,Signalfx
,Slf4jJulBridge
,Stackdriver
,Statsd
,TemplateEmailFeature
,VertexAiGeminiLangchain4jLanguageModel
,VertexAiLangchain4jLanguageModel
,Wavefront
A feature backed by an OpenRewrite recipe.
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
apply
(GeneratorContext generatorContext) If this method is called for a given feature that means the feature was explicitly selected, included by default as a result ofDefaultFeature.shouldApply(io.micronaut.starter.options.Options, java.util.Set)
, or added explicitly by another feature throughFeatureContext.addFeature(Feature)
.default String
getRecipes
(GeneratorContext generatorContext) default String
default void
processRecipes
(GeneratorContext generatorContext) Methods inherited from interface io.micronaut.core.naming.Described
getDescription
Methods inherited from interface io.micronaut.projectgen.core.feature.Feature
getCategory, getDescription, getName, getOrder, getTitle, isCommunity, isPreview, isVisible, processSelectedFeatures, supports
-
Method Details
-
getRecipes
-
apply
Description copied from interface:Feature
If this method is called for a given feature that means the feature was explicitly selected, included by default as a result ofDefaultFeature.shouldApply(io.micronaut.starter.options.Options, java.util.Set)
, or added explicitly by another feature throughFeatureContext.addFeature(Feature)
. At this point the feature list is set and cannot change. This method can be implemented to modify the generated project. The feature can add templates by executingGeneratorContext.addTemplate(String, io.micronaut.starter.template.Template)
, modify configuration by modifyingGeneratorContext.getConfiguration()
orGeneratorContext.getBootstrapConfiguration()
, or modify build properties throughGeneratorContext.getBuildProperties()
. -
processRecipes
-
getFrameworkDocumentation
- Specified by:
getFrameworkDocumentation
in interfaceFeature
- Parameters:
gc
- Generator Context- Returns:
- Returns a link to Framework documentation about the feature. eg. https://micronaut-projects.github.io/micronaut-cache/latest/guide/index.html#hazelcast
-
getThirdPartyDocumentation
- Specified by:
getThirdPartyDocumentation
in interfaceFeature
- Parameters:
gc
- Generator Context- Returns:
- Returns a link to third party. E.g. https://hazelcast.org
-