Interface MigrationExecutor.MigrationCallback

Enclosing class:
MigrationExecutor
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface MigrationExecutor.MigrationCallback
Callback interface for post-migration notifications.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Called after a migration completes successfully.
  • Method Details

    • onMigrationComplete

      void onMigrationComplete(Migration migration, MigrationContext context)
      Called after a migration completes successfully.
      Parameters:
      migration - the migration that completed
      context - the migration context with updated data