Class FlywayAutoConfiguration.FlywayConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.flyway.FlywayAutoConfiguration.FlywayConfiguration
- Enclosing class:
- FlywayAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(org.springframework.jdbc.support.JdbcUtils.class)
@ConditionalOnMissingBean(org.flywaydb.core.Flyway.class)
@EnableConfigurationProperties(FlywayProperties.class)
public static class FlywayAutoConfiguration.FlywayConfiguration
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.flywaydb.core.Flyway
flyway
(FlywayProperties properties, ResourceLoader resourceLoader, ObjectProvider<DataSource> dataSource, ObjectProvider<DataSource> flywayDataSource, ObjectProvider<FlywayConfigurationCustomizer> fluentConfigurationCustomizers, ObjectProvider<org.flywaydb.core.api.migration.JavaMigration> javaMigrations, ObjectProvider<org.flywaydb.core.api.callback.Callback> callbacks) Deprecated, for removal: This API element is subject to removal in a future version.flywayInitializer
(org.flywaydb.core.Flyway flyway, ObjectProvider<FlywayMigrationStrategy> migrationStrategy)
-
Constructor Details
-
FlywayConfiguration
public FlywayConfiguration()
-
-
Method Details
-
flyway
@Deprecated(since="3.0.0", forRemoval=true) public org.flywaydb.core.Flyway flyway(FlywayProperties properties, ResourceLoader resourceLoader, ObjectProvider<DataSource> dataSource, ObjectProvider<DataSource> flywayDataSource, ObjectProvider<FlywayConfigurationCustomizer> fluentConfigurationCustomizers, ObjectProvider<org.flywaydb.core.api.migration.JavaMigration> javaMigrations, ObjectProvider<org.flywaydb.core.api.callback.Callback> callbacks) Deprecated, for removal: This API element is subject to removal in a future version. -
flywayInitializer
@Bean @ConditionalOnMissingBean public FlywayMigrationInitializer flywayInitializer(org.flywaydb.core.Flyway flyway, ObjectProvider<FlywayMigrationStrategy> migrationStrategy)
-