| Package | Description |
|---|---|
| org.flywaydb.core.api |
FlywayException, MigrationInfo and related classes.
|
| org.flywaydb.core.api.callback |
Interfaces for Flyway lifecycle callbacks.
|
| Modifier and Type | Method | Description |
|---|---|---|
MigrationInfo[] |
MigrationInfoService.all() |
Retrieves the full set of infos about applied, current and future migrations.
|
MigrationInfo[] |
MigrationInfoService.applied() |
Retrieves the full set of infos about the migrations applied to the DB.
|
MigrationInfo |
MigrationInfoService.current() |
Retrieves the information of the current applied migration, if any.
|
MigrationInfo[] |
MigrationInfoService.pending() |
Retrieves the full set of infos about pending migrations, available locally, but not yet applied to the DB.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
BaseFlywayCallback.afterEachMigrate(Connection connection,
MigrationInfo info) |
|
void |
FlywayCallback.afterEachMigrate(Connection connection,
MigrationInfo info) |
Runs after each migration script is executed.
|
void |
BaseFlywayCallback.afterEachUndo(Connection connection,
MigrationInfo info) |
|
void |
FlywayCallback.afterEachUndo(Connection connection,
MigrationInfo info) |
Runs after each migration script is undone.
|
void |
BaseFlywayCallback.beforeEachMigrate(Connection connection,
MigrationInfo info) |
|
void |
FlywayCallback.beforeEachMigrate(Connection connection,
MigrationInfo info) |
Runs before each migration script is executed.
|
void |
BaseFlywayCallback.beforeEachUndo(Connection connection,
MigrationInfo info) |
|
void |
FlywayCallback.beforeEachUndo(Connection connection,
MigrationInfo info) |
Runs before each migration script is undone.
|
Copyright © 2018. All rights reserved.