Package io.micronaut.flyway
Class DefaultFlywayConfigurationCustomizer
java.lang.Object
io.micronaut.flyway.DefaultFlywayConfigurationCustomizer
- All Implemented Interfaces:
io.micronaut.core.naming.Named
,FlywayConfigurationCustomizer
public class DefaultFlywayConfigurationCustomizer
extends Object
implements FlywayConfigurationCustomizer
Default implementation of
FlywayConfigurationCustomizer
. Finds and configures all
Named
instances of the following Flyway types:
JavaMigration
[]Callback
[]MigrationResolver
[]ResourceProvider
ClassProvider
- 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.@NonNull String
getName()
-
Method Details
-
customizeFluentConfiguration
public void customizeFluentConfiguration(org.flywaydb.core.api.configuration.FluentConfiguration fluentConfiguration) Description copied from interface:FlywayConfigurationCustomizer
A callback for customizing Flyway configuration by setting properties on theFluentConfiguration
builder prior to execution of migrations.- Specified by:
customizeFluentConfiguration
in interfaceFlywayConfigurationCustomizer
- Parameters:
fluentConfiguration
- The configuration to be customized
-
getName
- Specified by:
getName
in interfaceio.micronaut.core.naming.Named
-