Package io.micronaut.flyway
Interface FlywayConfigurationCustomizer
- All Superinterfaces:
io.micronaut.core.naming.Named
- All Known Implementing Classes:
DefaultFlywayConfigurationCustomizer
public interface FlywayConfigurationCustomizer
extends io.micronaut.core.naming.Named
Interface for customizing Flyway configuration. Allows for injection of custom implementations
of Flyway-specific types, and for setting general configuration properties that might not yet
be explicitly supported in
FlywayConfigurationProperties
.- Since:
- 7.2.0
- Author:
- Jeremy Grelle
-
Method Summary
Modifier and TypeMethodDescriptionvoid
customizeFluentConfiguration
(org.flywaydb.core.api.configuration.FluentConfiguration fluentConfiguration) A callback for customizing Flyway configuration by setting properties on theFluentConfiguration
builder prior to execution of migrations.Methods inherited from interface io.micronaut.core.naming.Named
getName
-
Method Details
-
customizeFluentConfiguration
void customizeFluentConfiguration(org.flywaydb.core.api.configuration.FluentConfiguration fluentConfiguration) A callback for customizing Flyway configuration by setting properties on theFluentConfiguration
builder prior to execution of migrations.- Parameters:
fluentConfiguration
- The configuration to be customized
-