Package migratedb.v1.core.internal.info
Class MigrationExecutionOrdering
java.lang.Object
migratedb.v1.core.internal.info.MigrationExecutionOrdering
- All Implemented Interfaces:
Comparator<MigrationInfo>
The ordering used by
MigrationInfoService. It places
- applied migrations before resolved pending migrations
- lower versions before higher versions for pending migrations
- versioned migrations before repeatable migrations
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
MigrationExecutionOrdering
public MigrationExecutionOrdering()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<MigrationInfo>
-