Class SpincastFlywayJdbcMigrationExecutor

java.lang.Object
org.spincast.plugins.flywayutils.SpincastFlywayJdbcMigrationExecutor
All Implemented Interfaces:
org.flywaydb.core.api.executor.MigrationExecutor

public class SpincastFlywayJdbcMigrationExecutor extends Object implements org.flywaydb.core.api.executor.MigrationExecutor
  • Constructor Details

    • SpincastFlywayJdbcMigrationExecutor

      public SpincastFlywayJdbcMigrationExecutor(SpincastFlywayMigration spincastFlywayMigration)
  • Method Details

    • getSpincastFlywayMigration

      protected SpincastFlywayMigration getSpincastFlywayMigration()
    • execute

      public void execute(org.flywaydb.core.api.executor.Context context) throws SQLException
      Specified by:
      execute in interface org.flywaydb.core.api.executor.MigrationExecutor
      Throws:
      SQLException
    • canExecuteInTransaction

      public boolean canExecuteInTransaction()
      Specified by:
      canExecuteInTransaction in interface org.flywaydb.core.api.executor.MigrationExecutor
    • shouldExecute

      public boolean shouldExecute()
      Specified by:
      shouldExecute in interface org.flywaydb.core.api.executor.MigrationExecutor