- 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 voidmigrationEnd(MigrationContext ctx)Invoked at the end of aMigration.voidmigrationStart(MigrationContext ctx)Invoked at the start of aMigration.voidqueriesEnd(MigrationContext ctx)Invoked at the end of a set ofQueriesthat describe a single version increment.voidqueriesStart(MigrationContext ctx)Invoked at the start of a set ofQueriesthat describe a single version increment.voidqueryEnd(MigrationContext ctx)Invoked at the start of an individualQuery.voidqueryStart(MigrationContext ctx)Invoked at the start of an individualQuery.
-
-
-
Method Detail
-
migrationStart
public void migrationStart(MigrationContext ctx)
Description copied from interface:MigrationListenerInvoked at the start of aMigration.- Specified by:
migrationStartin interfaceMigrationListener
-
migrationEnd
public void migrationEnd(MigrationContext ctx)
Description copied from interface:MigrationListenerInvoked at the end of aMigration.- Specified by:
migrationEndin interfaceMigrationListener
-
queriesStart
public void queriesStart(MigrationContext ctx)
Description copied from interface:MigrationListenerInvoked at the start of a set ofQueriesthat describe a single version increment.- Specified by:
queriesStartin interfaceMigrationListener
-
queriesEnd
public void queriesEnd(MigrationContext ctx)
Description copied from interface:MigrationListenerInvoked at the end of a set ofQueriesthat describe a single version increment.- Specified by:
queriesEndin interfaceMigrationListener
-
queryStart
public void queryStart(MigrationContext ctx)
Description copied from interface:MigrationListenerInvoked at the start of an individualQuery.- Specified by:
queryStartin interfaceMigrationListener
-
queryEnd
public void queryEnd(MigrationContext ctx)
Description copied from interface:MigrationListenerInvoked at the start of an individualQuery.- Specified by:
queryEndin interfaceMigrationListener
-
-