Class BaseFlywayCallback

    • Constructor Detail

      • BaseFlywayCallback

        public BaseFlywayCallback()
        Deprecated.
    • Method Detail

      • setFlywayConfiguration

        public void setFlywayConfiguration​(FlywayConfiguration flywayConfiguration)
        Deprecated.
        Description copied from interface: ConfigurationAware
        Sets the current configuration. This method should not be called directly, it is called by Flyway itself.
        Specified by:
        setFlywayConfiguration in interface ConfigurationAware
        Parameters:
        flywayConfiguration - The current Flyway configuration.
      • beforeClean

        public void beforeClean​(Connection connection)
        Deprecated.
        Description copied from interface: FlywayCallback
        Runs before the clean task executes.
        Specified by:
        beforeClean in interface FlywayCallback
        Parameters:
        connection - A valid connection to the database.
      • afterClean

        public void afterClean​(Connection connection)
        Deprecated.
        Description copied from interface: FlywayCallback
        Runs after the clean task executes.
        Specified by:
        afterClean in interface FlywayCallback
        Parameters:
        connection - A valid connection to the database.
      • beforeMigrate

        public void beforeMigrate​(Connection connection)
        Deprecated.
        Description copied from interface: FlywayCallback
        Runs before the migrate task executes.
        Specified by:
        beforeMigrate in interface FlywayCallback
        Parameters:
        connection - A valid connection to the database.
      • afterMigrate

        public void afterMigrate​(Connection connection)
        Deprecated.
        Description copied from interface: FlywayCallback
        Runs after the migrate task executes.
        Specified by:
        afterMigrate in interface FlywayCallback
        Parameters:
        connection - A valid connection to the database.
      • beforeEachMigrate

        public void beforeEachMigrate​(Connection connection,
                                      MigrationInfo info)
        Deprecated.
        Description copied from interface: FlywayCallback
        Runs before each migration script is executed.
        Specified by:
        beforeEachMigrate in interface FlywayCallback
        Parameters:
        connection - A valid connection to the database.
        info - The current MigrationInfo for this migration.
      • afterEachMigrate

        public void afterEachMigrate​(Connection connection,
                                     MigrationInfo info)
        Deprecated.
        Description copied from interface: FlywayCallback
        Runs after each migration script is executed.
        Specified by:
        afterEachMigrate in interface FlywayCallback
        Parameters:
        connection - A valid connection to the database.
        info - The current MigrationInfo for this migration.
      • beforeUndo

        public void beforeUndo​(Connection connection)
        Deprecated.
        Description copied from interface: FlywayCallback
        Runs before the undo task executes.
        Specified by:
        beforeUndo in interface FlywayCallback
        Parameters:
        connection - A valid connection to the database.
      • beforeEachUndo

        public void beforeEachUndo​(Connection connection,
                                   MigrationInfo info)
        Deprecated.
        Description copied from interface: FlywayCallback
        Runs before each migration script is undone.
        Specified by:
        beforeEachUndo in interface FlywayCallback
        Parameters:
        connection - A valid connection to the database.
        info - The current MigrationInfo for the migration to be undone.
      • afterEachUndo

        public void afterEachUndo​(Connection connection,
                                  MigrationInfo info)
        Deprecated.
        Description copied from interface: FlywayCallback
        Runs after each migration script is undone.
        Specified by:
        afterEachUndo in interface FlywayCallback
        Parameters:
        connection - A valid connection to the database.
        info - The current MigrationInfo for the migration just undone.
      • afterUndo

        public void afterUndo​(Connection connection)
        Deprecated.
        Description copied from interface: FlywayCallback
        Runs after the undo task executes.
        Specified by:
        afterUndo in interface FlywayCallback
        Parameters:
        connection - A valid connection to the database.
      • beforeValidate

        public void beforeValidate​(Connection connection)
        Deprecated.
        Description copied from interface: FlywayCallback
        Runs before the validate task executes.
        Specified by:
        beforeValidate in interface FlywayCallback
        Parameters:
        connection - A valid connection to the database.
      • afterValidate

        public void afterValidate​(Connection connection)
        Deprecated.
        Description copied from interface: FlywayCallback
        Runs after the validate task executes.
        Specified by:
        afterValidate in interface FlywayCallback
        Parameters:
        connection - A valid connection to the database.
      • beforeBaseline

        public void beforeBaseline​(Connection connection)
        Deprecated.
        Description copied from interface: FlywayCallback
        Runs before the baseline task executes.
        Specified by:
        beforeBaseline in interface FlywayCallback
        Parameters:
        connection - A valid connection to the database.
      • afterBaseline

        public void afterBaseline​(Connection connection)
        Deprecated.
        Description copied from interface: FlywayCallback
        Runs after the baseline task executes.
        Specified by:
        afterBaseline in interface FlywayCallback
        Parameters:
        connection - A valid connection to the database.
      • beforeRepair

        public void beforeRepair​(Connection connection)
        Deprecated.
        Description copied from interface: FlywayCallback
        Runs before the repair task executes.
        Specified by:
        beforeRepair in interface FlywayCallback
        Parameters:
        connection - A valid connection to the database.
      • afterRepair

        public void afterRepair​(Connection connection)
        Deprecated.
        Description copied from interface: FlywayCallback
        Runs after the repair task executes.
        Specified by:
        afterRepair in interface FlywayCallback
        Parameters:
        connection - A valid connection to the database.
      • beforeInfo

        public void beforeInfo​(Connection connection)
        Deprecated.
        Description copied from interface: FlywayCallback
        Runs before the info task executes.
        Specified by:
        beforeInfo in interface FlywayCallback
        Parameters:
        connection - A valid connection to the database.
      • afterInfo

        public void afterInfo​(Connection connection)
        Deprecated.
        Description copied from interface: FlywayCallback
        Runs after the info task executes.
        Specified by:
        afterInfo in interface FlywayCallback
        Parameters:
        connection - A valid connection to the database.