- All Superinterfaces:
EventListener
- All Known Implementing Classes:
DefaultMigrationListener
A listener for
Migration
lifecycles.
This is EXPERIMENTAL functionality and subject to change in future jOOQ versions.
- Author:
- Lukas Eder
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
Invoked at the end of aMigration
.default void
Invoked at the start of aMigration
.default void
Invoked at the end of a set ofQueries
that describe a single version increment.default void
Invoked at the start of a set ofQueries
that describe a single version increment.default void
queryEnd
(MigrationContext ctx) Invoked at the start of an individualQuery
.default void
Invoked at the start of an individualQuery
.
-
Method Details
-
migrationStart
Invoked at the start of aMigration
.- Parameters:
ctx
- The context containing information about the migration.
-
migrationEnd
Invoked at the end of aMigration
.- Parameters:
ctx
- The context containing information about the migration.
-
queriesStart
Invoked at the start of a set ofQueries
that describe a single version increment.- Parameters:
ctx
- The context containing information about the migration.
-
queriesEnd
Invoked at the end of a set ofQueries
that describe a single version increment.- Parameters:
ctx
- The context containing information about the migration.
-
queryStart
Invoked at the start of an individualQuery
.- Parameters:
ctx
- The context containing information about the migration.
-
queryEnd
Invoked at the start of an individualQuery
.- Parameters:
ctx
- The context containing information about the migration.
-