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