public class RepeatableCallback extends Object implements org.flywaydb.core.api.callback.FlywayCallback
| Constructor and Description |
|---|
RepeatableCallback(org.flywaydb.core.Flyway flyway) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterClean(Connection connection) |
void |
afterEachMigrate(Connection connection,
org.flywaydb.core.api.MigrationInfo info) |
void |
afterInfo(Connection connection)
re-insert all CUSTOM entries which have been stored in-memory beforeInfo.
|
void |
afterInit(Connection connection) |
void |
afterMigrate(Connection connection) |
void |
afterRepair(Connection connection) |
void |
afterValidate(Connection connection) |
void |
beforeClean(Connection connection) |
void |
beforeEachMigrate(Connection connection,
org.flywaydb.core.api.MigrationInfo info) |
void |
beforeInfo(Connection connection)
storing in-memory (!) all CUSTOM entries, and finally removes them from the metadata table.
|
void |
beforeInit(Connection connection) |
void |
beforeMigrate(Connection connection)
delete all scripts from metadata table which has been registered as CUSTOM
|
void |
beforeRepair(Connection connection) |
void |
beforeValidate(Connection connection) |
public RepeatableCallback(org.flywaydb.core.Flyway flyway)
throws SQLException
SQLExceptionpublic void beforeClean(Connection connection)
beforeClean in interface org.flywaydb.core.api.callback.FlywayCallbackpublic void afterClean(Connection connection)
afterClean in interface org.flywaydb.core.api.callback.FlywayCallbackpublic void beforeMigrate(Connection connection)
beforeMigrate in interface org.flywaydb.core.api.callback.FlywayCallbackconnection - public void afterMigrate(Connection connection)
afterMigrate in interface org.flywaydb.core.api.callback.FlywayCallbackpublic void beforeEachMigrate(Connection connection, org.flywaydb.core.api.MigrationInfo info)
beforeEachMigrate in interface org.flywaydb.core.api.callback.FlywayCallbackpublic void afterEachMigrate(Connection connection, org.flywaydb.core.api.MigrationInfo info)
afterEachMigrate in interface org.flywaydb.core.api.callback.FlywayCallbackpublic void beforeValidate(Connection connection)
beforeValidate in interface org.flywaydb.core.api.callback.FlywayCallbackpublic void afterValidate(Connection connection)
afterValidate in interface org.flywaydb.core.api.callback.FlywayCallbackpublic void beforeInit(Connection connection)
beforeInit in interface org.flywaydb.core.api.callback.FlywayCallbackpublic void afterInit(Connection connection)
afterInit in interface org.flywaydb.core.api.callback.FlywayCallbackpublic void beforeRepair(Connection connection)
beforeRepair in interface org.flywaydb.core.api.callback.FlywayCallbackpublic void afterRepair(Connection connection)
afterRepair in interface org.flywaydb.core.api.callback.FlywayCallbackpublic void beforeInfo(Connection connection)
beforeInfo in interface org.flywaydb.core.api.callback.FlywayCallbackconnection - public void afterInfo(Connection connection)
afterInfo in interface org.flywaydb.core.api.callback.FlywayCallbackconnection - Copyright © 2014. All rights reserved.