Module org.jooq
Package org.jooq

Interface MigrationListener

All Superinterfaces:
EventListener
All Known Implementing Classes:
DefaultMigrationListener

@Experimental public interface MigrationListener extends EventListener
A listener for Migration lifecycles.

This is EXPERIMENTAL functionality and subject to change in future jOOQ versions.

Author:
Lukas Eder
  • Method Details

    • migrationStart

      default void migrationStart(MigrationContext ctx)
      Invoked at the start of a Migration.
      Parameters:
      ctx - The context containing information about the migration.
    • migrationEnd

      default void migrationEnd(MigrationContext ctx)
      Invoked at the end of a Migration.
      Parameters:
      ctx - The context containing information about the migration.
    • queriesStart

      default void queriesStart(MigrationContext ctx)
      Invoked at the start of a set of Queries that describe a single version increment.
      Parameters:
      ctx - The context containing information about the migration.
    • queriesEnd

      default void queriesEnd(MigrationContext ctx)
      Invoked at the end of a set of Queries that describe a single version increment.
      Parameters:
      ctx - The context containing information about the migration.
    • queryStart

      default void queryStart(MigrationContext ctx)
      Invoked at the start of an individual Query.
      Parameters:
      ctx - The context containing information about the migration.
    • queryEnd

      default void queryEnd(MigrationContext ctx)
      Invoked at the start of an individual Query.
      Parameters:
      ctx - The context containing information about the migration.