Class SpincastFlywayMigrationContextDefault

java.lang.Object
org.spincast.plugins.flywayutils.SpincastFlywayMigrationContextDefault
All Implemented Interfaces:
org.flywaydb.core.api.resolver.MigrationResolver, SpincastFlywayMigrationContext

public class SpincastFlywayMigrationContextDefault extends Object implements SpincastFlywayMigrationContext
  • Constructor Details

  • Method Details

    • getDataSource

      protected DataSource getDataSource()
    • getMigrationsPackage

      protected String getMigrationsPackage()
    • getInjector

      protected com.google.inject.Injector getInjector()
    • getJdbcUtils

      protected JdbcUtils getJdbcUtils()
    • getSchema

      protected String getSchema()
    • getSpincastConfig

      protected SpincastConfig getSpincastConfig()
    • getSpincastDataSourceFactory

      protected SpincastDataSourceFactory getSpincastDataSourceFactory()
    • migrate

      public void migrate()
      Specified by:
      migrate in interface SpincastFlywayMigrationContext
    • isValidateOnMigrate

      protected boolean isValidateOnMigrate()
    • createFlyway

      protected org.flywaydb.core.Flyway createFlyway()
    • resolveMigrations

      public Collection<org.flywaydb.core.api.resolver.ResolvedMigration> resolveMigrations(org.flywaydb.core.api.resolver.Context context)
      Specified by:
      resolveMigrations in interface org.flywaydb.core.api.resolver.MigrationResolver
    • convertToResolvedMigration

      protected org.flywaydb.core.api.resolver.ResolvedMigration convertToResolvedMigration(SpincastFlywayMigration spincastFlywayMigration)