Class FlywayMigrationInitializer

java.lang.Object
org.springframework.boot.autoconfigure.flyway.FlywayMigrationInitializer
All Implemented Interfaces:
InitializingBean, Ordered

public class FlywayMigrationInitializer extends Object implements InitializingBean, Ordered
InitializingBean used to trigger Flyway migration via the FlywayMigrationStrategy.
Since:
1.3.0
Author:
Phillip Webb
  • Constructor Details

    • FlywayMigrationInitializer

      public FlywayMigrationInitializer(org.flywaydb.core.Flyway flyway)
      Create a new FlywayMigrationInitializer instance.
      Parameters:
      flyway - the flyway instance
    • FlywayMigrationInitializer

      public FlywayMigrationInitializer(org.flywaydb.core.Flyway flyway, FlywayMigrationStrategy migrationStrategy)
      Create a new FlywayMigrationInitializer instance.
      Parameters:
      flyway - the flyway instance
      migrationStrategy - the migration strategy or null
  • Method Details