- java.lang.Object
-
- org.jooq.impl.DefaultVersionProvider
-
- All Implemented Interfaces:
VersionProvider
@Internal public class DefaultVersionProvider extends Object implements VersionProvider
A default implementation of theVersionProvider
SPI, which provides a materialisation of the currently available database version graph.It is based
- Author:
- Lukas Eder
-
-
Constructor Summary
Constructors Constructor Description DefaultVersionProvider(Configuration configuration, Source... sources)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Versions
provide()
Provide a set of versions relevant to a migration.
-
-
-
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 interfaceVersionProvider
-
-