Module org.jooq
Package org.jooq.impl

Class DefaultVersionProvider

  • All Implemented Interfaces:
    VersionProvider

    @Internal
    public class DefaultVersionProvider
    extends Object
    implements VersionProvider
    A default implementation of the VersionProvider SPI, which provides a materialisation of the currently available database version graph.

    It is based

    Author:
    Lukas Eder
    • Constructor Detail

      • DefaultVersionProvider

        public DefaultVersionProvider​(Configuration configuration,
                                      Source... sources)
    • Method Detail

      • provide

        public Versions provide()
        Description copied from interface: VersionProvider
        Provide a set of versions 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.

        Specified by:
        provide in interface VersionProvider