public class FlywayMigrationInitializer extends Object implements org.springframework.beans.factory.InitializingBean, org.springframework.core.Ordered
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 org.springframework.beans.factory.InitializingBean
Exception
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
public void setOrder(int order)
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.