public final class DataConsistencyPatch extends Object implements org.flywaydb.core.api.callback.FlywayCallback
FlywayCallback
to be able to execute the checks before and after the
upgrades.
Constructor and Description |
---|
DataConsistencyPatch(String patchUnusedContentAction) |
Modifier and Type | Method and Description |
---|---|
void |
afterBaseline(Connection connection) |
void |
afterClean(Connection connection) |
void |
afterEachMigrate(Connection connection,
org.flywaydb.core.api.MigrationInfo info) |
void |
afterInfo(Connection connection) |
void |
afterInit(Connection connection) |
void |
afterMigrate(Connection connection) |
void |
afterRepair(Connection connection) |
void |
afterValidate(Connection connection) |
void |
beforeBaseline(Connection connection) |
void |
beforeClean(Connection connection) |
void |
beforeEachMigrate(Connection connection,
org.flywaydb.core.api.MigrationInfo info) |
void |
beforeInfo(Connection connection) |
void |
beforeInit(Connection connection) |
void |
beforeMigrate(Connection connection) |
void |
beforeRepair(Connection connection) |
void |
beforeValidate(Connection connection) |
public DataConsistencyPatch(String patchUnusedContentAction)
public void beforeMigrate(Connection connection)
beforeMigrate
in interface org.flywaydb.core.api.callback.FlywayCallback
public void afterMigrate(Connection connection)
afterMigrate
in interface org.flywaydb.core.api.callback.FlywayCallback
public void afterValidate(Connection connection)
afterValidate
in interface org.flywaydb.core.api.callback.FlywayCallback
public void beforeClean(Connection connection)
beforeClean
in interface org.flywaydb.core.api.callback.FlywayCallback
public void afterClean(Connection connection)
afterClean
in interface org.flywaydb.core.api.callback.FlywayCallback
public void beforeEachMigrate(Connection connection, org.flywaydb.core.api.MigrationInfo info)
beforeEachMigrate
in interface org.flywaydb.core.api.callback.FlywayCallback
public void afterEachMigrate(Connection connection, org.flywaydb.core.api.MigrationInfo info)
afterEachMigrate
in interface org.flywaydb.core.api.callback.FlywayCallback
public void beforeValidate(Connection connection)
beforeValidate
in interface org.flywaydb.core.api.callback.FlywayCallback
public void beforeBaseline(Connection connection)
beforeBaseline
in interface org.flywaydb.core.api.callback.FlywayCallback
public void afterBaseline(Connection connection)
afterBaseline
in interface org.flywaydb.core.api.callback.FlywayCallback
public void beforeInit(Connection connection)
beforeInit
in interface org.flywaydb.core.api.callback.FlywayCallback
public void afterInit(Connection connection)
afterInit
in interface org.flywaydb.core.api.callback.FlywayCallback
public void beforeRepair(Connection connection)
beforeRepair
in interface org.flywaydb.core.api.callback.FlywayCallback
public void afterRepair(Connection connection)
afterRepair
in interface org.flywaydb.core.api.callback.FlywayCallback
public void beforeInfo(Connection connection)
beforeInfo
in interface org.flywaydb.core.api.callback.FlywayCallback
public void afterInfo(Connection connection)
afterInfo
in interface org.flywaydb.core.api.callback.FlywayCallback
Copyright © 2010 - 2015 edorasware ag. All Rights Reserved.