Module org.jooq
Package org.jooq

Interface CommitProvider

All Known Implementing Classes:
DefaultCommitProvider
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Experimental @FunctionalInterface public interface CommitProvider
An SPI that allows for providing a graph of versions.

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

Author:
Lukas Eder
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Commits
    Provide a set of commits relevant to a migration.
  • Method Details

    • provide

      @NotNull @NotNull Commits provide()
      Provide a set of commits relevant to a migration.

      This can include the entire set of known versions, or a subset thereof. There is no requirement to provide a fully connected graph, although Version.migrateTo(Version) and other operations are undefined if two versions do not have a common ancestor.