Interface MigrationLoader

All Known Implementing Classes:
FileMigrationLoader, JavaMigrationLoader

public interface MigrationLoader
  • Method Details

    • getMigrations

      List<Change> getMigrations()
      Returns:
      A list of migrations (bootstrap should NOT be included).
    • getScriptReader

      Reader getScriptReader(Change change, boolean undo)
      Parameters:
      change - identifies the migration to read.
      undo - whether the caller requests UNDO SQL script or not.
      Returns:
      A Reader of the specified SQL script.
    • getBootstrapReader

      Reader getBootstrapReader()
      Returns:
      A Reader of the bootstrap SQL script.
    • getOnAbortReader

      Reader getOnAbortReader()
      Returns:
      A Reader of the onabort SQL script.