java.lang.Object
org.jooq.impl.DefaultMigrationListener
- All Implemented Interfaces:
EventListener
,MigrationListener
A publicly available default implementation of
MigrationListener
.
Use this to stay compatible with future API changes (i.e. added methods to
MigrationListener
)
- Author:
- Lukas Eder
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Invoked at the end of aMigration
.void
Invoked at the start of aMigration
.void
Invoked at the end of a set ofQueries
that describe a single version increment.void
Invoked at the start of a set ofQueries
that describe a single version increment.void
queryEnd
(MigrationContext ctx) Invoked at the start of an individualQuery
.void
Invoked at the start of an individualQuery
.
-
Constructor Details
-
DefaultMigrationListener
public DefaultMigrationListener()
-
-
Method Details
-
migrationStart
Description copied from interface:MigrationListener
Invoked at the start of aMigration
.- Specified by:
migrationStart
in interfaceMigrationListener
-
migrationEnd
Description copied from interface:MigrationListener
Invoked at the end of aMigration
.- Specified by:
migrationEnd
in interfaceMigrationListener
-
queriesStart
Description copied from interface:MigrationListener
Invoked at the start of a set ofQueries
that describe a single version increment.- Specified by:
queriesStart
in interfaceMigrationListener
-
queriesEnd
Description copied from interface:MigrationListener
Invoked at the end of a set ofQueries
that describe a single version increment.- Specified by:
queriesEnd
in interfaceMigrationListener
-
queryStart
Description copied from interface:MigrationListener
Invoked at the start of an individualQuery
.- Specified by:
queryStart
in interfaceMigrationListener
-
queryEnd
Description copied from interface:MigrationListener
Invoked at the start of an individualQuery
.- Specified by:
queryEnd
in interfaceMigrationListener
-