public static class MongoTrekState.Pending extends Object
This class provides the collection of migrations pending application to the system.
| Modifier and Type | Method and Description |
|---|---|
String |
getLastPendingVersion()
The last migration version to be applied
|
List<net.ozwolf.mongo.migrations.internal.domain.Migration> |
getMigrations()
The list of pending migrations
|
String |
getNextPendingVersion()
The next migration version to be applied
|
boolean |
hasPendingMigrations()
Flag to determine if there is any pending migrations
|
public boolean hasPendingMigrations()
Flag to determine if there is any pending migrations
public String getNextPendingVersion()
The next migration version to be applied
N/A if none to be appliedpublic String getLastPendingVersion()
The last migration version to be applied
N/A if none to be appliedpublic List<net.ozwolf.mongo.migrations.internal.domain.Migration> getMigrations()
The list of pending migrations
Copyright © 2016. All Rights Reserved.