public class FlywayMigrationInitializer extends Object implements InitializingBean, Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
FlywayMigrationInitializer(org.flywaydb.core.Flyway flyway)
Create a new
FlywayMigrationInitializer instance. |
FlywayMigrationInitializer(org.flywaydb.core.Flyway flyway,
FlywayMigrationStrategy migrationStrategy)
Create a new
FlywayMigrationInitializer instance. |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
int |
getOrder() |
void |
setOrder(int order) |
public FlywayMigrationInitializer(org.flywaydb.core.Flyway flyway)
FlywayMigrationInitializer
instance.flyway
- the flyway instancepublic FlywayMigrationInitializer(org.flywaydb.core.Flyway flyway, FlywayMigrationStrategy migrationStrategy)
FlywayMigrationInitializer
instance.flyway
- the flyway instancemigrationStrategy
- the migration strategy or null
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface InitializingBean
Exception
public void setOrder(int order)
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.