A D F G H I M N P R S T V
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- apply(Object) - Method in class net.ozwolf.mongo.migrations.internal.util.strict.interpolator.DateInterpolator
- assign(MigrationCommand) - Method in class net.ozwolf.mongo.migrations.internal.domain.Migration
D
- DATE - net.ozwolf.mongo.migrations.internal.util.strict.StrictOperator
- DateInterpolator - Class in net.ozwolf.mongo.migrations.internal.util.strict.interpolator
- DateInterpolator() - Constructor for class net.ozwolf.mongo.migrations.internal.util.strict.interpolator.DateInterpolator
- DateTest - Class in net.ozwolf.mongo.migrations.internal.util.strict.test
- DateTest() - Constructor for class net.ozwolf.mongo.migrations.internal.util.strict.test.DateTest
- DEFAULT_AUTHOR - Static variable in class net.ozwolf.mongo.migrations.internal.domain.Migration
- DefaultSchemaVersionDAO - Class in net.ozwolf.mongo.migrations.internal.dao
- DefaultSchemaVersionDAO(MongoCollection<Document>) - Constructor for class net.ozwolf.mongo.migrations.internal.dao.DefaultSchemaVersionDAO
- DuplicateVersionException - Exception in net.ozwolf.mongo.migrations.exception
-
Duplicate Version Exception
- DuplicateVersionException(Migration) - Constructor for exception net.ozwolf.mongo.migrations.exception.DuplicateVersionException
F
- failed(Exception) - Method in class net.ozwolf.mongo.migrations.internal.domain.Migration
- Failed - net.ozwolf.mongo.migrations.internal.domain.MigrationStatus
- findAll() - Method in class net.ozwolf.mongo.migrations.internal.dao.DefaultSchemaVersionDAO
- findAll() - Method in interface net.ozwolf.mongo.migrations.internal.dao.SchemaVersionDAO
- findFor(Object) - Static method in enum net.ozwolf.mongo.migrations.internal.util.strict.StrictOperator
- findLastSuccessful() - Method in class net.ozwolf.mongo.migrations.internal.dao.DefaultSchemaVersionDAO
- findLastSuccessful() - Method in interface net.ozwolf.mongo.migrations.internal.dao.SchemaVersionDAO
G
- getApplied() - Method in class net.ozwolf.mongo.migrations.MongoTrekState
-
Get the list of successfully applied migrations
- getAuthor() - Method in class net.ozwolf.mongo.migrations.internal.domain.Migration
- getAuthor() - Method in class net.ozwolf.mongo.migrations.internal.domain.MigrationCommand
- getCommand() - Method in class net.ozwolf.mongo.migrations.internal.domain.Migration
- getCommand() - Method in class net.ozwolf.mongo.migrations.internal.domain.MigrationCommand
- getCommands(String, ClassLoader) - Method in class net.ozwolf.mongo.migrations.internal.factory.MigrationCommandsFactory
- getCurrentVersion() - Method in class net.ozwolf.mongo.migrations.MongoTrekState
-
Get the currently applied migration version.
- getDescription() - Method in class net.ozwolf.mongo.migrations.internal.domain.Migration
- getDescription() - Method in class net.ozwolf.mongo.migrations.internal.domain.MigrationCommand
- getDuration() - Method in class net.ozwolf.mongo.migrations.internal.domain.Migration
- getFailed() - Method in class net.ozwolf.mongo.migrations.MongoTrekState
-
Get the list of migrations that have failed.
- getFailureMessage() - Method in class net.ozwolf.mongo.migrations.internal.domain.Migration
- getFinished() - Method in class net.ozwolf.mongo.migrations.internal.domain.Migration
- getLastPendingVersion() - Method in class net.ozwolf.mongo.migrations.MongoTrekState.Pending
-
The last migration version to be applied
- getMigrations() - Method in class net.ozwolf.mongo.migrations.internal.domain.MigrationCommands
- getMigrations() - Method in class net.ozwolf.mongo.migrations.MongoTrekState
-
Get the full list of migrations.
- getMigrations() - Method in class net.ozwolf.mongo.migrations.MongoTrekState.Pending
-
The list of pending migrations
- getNextPendingVersion() - Method in class net.ozwolf.mongo.migrations.MongoTrekState.Pending
-
The next migration version to be applied
- getPending() - Method in class net.ozwolf.mongo.migrations.MongoTrekState
-
Return the pending migrations state.
- getResult() - Method in class net.ozwolf.mongo.migrations.internal.domain.Migration
- getSchemaVersionCollection() - Method in class net.ozwolf.mongo.migrations.internal.domain.MigrationCommands
- getSemanticVersion() - Method in class net.ozwolf.mongo.migrations.internal.domain.Migration
- getStarted() - Method in class net.ozwolf.mongo.migrations.internal.domain.Migration
- getState(MigrationCommands) - Method in class net.ozwolf.mongo.migrations.internal.service.MigrationsService
- getStatus() - Method in class net.ozwolf.mongo.migrations.internal.domain.Migration
- getTags() - Method in class net.ozwolf.mongo.migrations.internal.domain.Migration
- getVersion() - Method in class net.ozwolf.mongo.migrations.internal.domain.Migration
- getVersion() - Method in class net.ozwolf.mongo.migrations.internal.domain.MigrationCommand
H
- hasMigrations() - Method in class net.ozwolf.mongo.migrations.internal.domain.MigrationCommands
- hasPendingMigrations() - Method in class net.ozwolf.mongo.migrations.MongoTrekState.Pending
-
Flag to determine if there is any pending migrations
I
- interpolate(Object) - Method in enum net.ozwolf.mongo.migrations.internal.util.strict.StrictOperator
- interpolate(Map<String, Object>) - Static method in class net.ozwolf.mongo.migrations.internal.util.StrictJsonUtils
- isFailed() - Method in class net.ozwolf.mongo.migrations.internal.domain.Migration
- isPending() - Method in class net.ozwolf.mongo.migrations.internal.domain.Migration
- isRunning() - Method in class net.ozwolf.mongo.migrations.internal.domain.Migration
- isSuccessful() - Method in class net.ozwolf.mongo.migrations.internal.domain.Migration
M
- migrate() - Method in class net.ozwolf.mongo.migrations.MongoTrek
-
Migrate the Mongo database using the provided collection of commands.
- migrate(MongoDatabase) - Method in class net.ozwolf.mongo.migrations.internal.domain.MigrationCommand
- Migration - Class in net.ozwolf.mongo.migrations.internal.domain
- Migration(String, String, String, Instant, Instant, MigrationStatus, String, Map<String, Object>) - Constructor for class net.ozwolf.mongo.migrations.internal.domain.Migration
- Migration(MigrationCommand) - Constructor for class net.ozwolf.mongo.migrations.internal.domain.Migration
- MigrationCommand - Class in net.ozwolf.mongo.migrations.internal.domain
- MigrationCommand(String, String, String, Map<String, Object>) - Constructor for class net.ozwolf.mongo.migrations.internal.domain.MigrationCommand
- MigrationCommands - Class in net.ozwolf.mongo.migrations.internal.domain
- MigrationCommands(String, List<MigrationCommand>) - Constructor for class net.ozwolf.mongo.migrations.internal.domain.MigrationCommands
- MigrationCommandsFactory - Class in net.ozwolf.mongo.migrations.internal.factory
- MigrationCommandsFactory() - Constructor for class net.ozwolf.mongo.migrations.internal.factory.MigrationCommandsFactory
- MigrationsService - Class in net.ozwolf.mongo.migrations.internal.service
- MigrationsService(SchemaVersionDAO) - Constructor for class net.ozwolf.mongo.migrations.internal.service.MigrationsService
- MigrationStatus - Enum in net.ozwolf.mongo.migrations.internal.domain
- MongoTrek - Class in net.ozwolf.mongo.migrations
-
Mongo Trek
- MongoTrek(String, MongoDatabase) - Constructor for class net.ozwolf.mongo.migrations.MongoTrek
-
Create a new MongoTrek instance using a provided
MongoDatabaseinstance. - MongoTrek(String, String) - Constructor for class net.ozwolf.mongo.migrations.MongoTrek
-
Create a new MongoTrek instance that will connect to the provided connection string.
- MongoTrekFailureException - Exception in net.ozwolf.mongo.migrations.exception
-
Mongo Trek Failure Exception
- MongoTrekFailureException(Throwable) - Constructor for exception net.ozwolf.mongo.migrations.exception.MongoTrekFailureException
- MongoTrekState - Class in net.ozwolf.mongo.migrations
-
Mongo Trek State
- MongoTrekState(Collection<Migration>) - Constructor for class net.ozwolf.mongo.migrations.MongoTrekState
- MongoTrekState.Pending - Class in net.ozwolf.mongo.migrations
-
Migrations State - Pending State
N
- net.ozwolf.mongo.migrations - package net.ozwolf.mongo.migrations
- net.ozwolf.mongo.migrations.exception - package net.ozwolf.mongo.migrations.exception
- net.ozwolf.mongo.migrations.internal.dao - package net.ozwolf.mongo.migrations.internal.dao
- net.ozwolf.mongo.migrations.internal.domain - package net.ozwolf.mongo.migrations.internal.domain
- net.ozwolf.mongo.migrations.internal.factory - package net.ozwolf.mongo.migrations.internal.factory
- net.ozwolf.mongo.migrations.internal.service - package net.ozwolf.mongo.migrations.internal.service
- net.ozwolf.mongo.migrations.internal.util - package net.ozwolf.mongo.migrations.internal.util
- net.ozwolf.mongo.migrations.internal.util.strict - package net.ozwolf.mongo.migrations.internal.util.strict
- net.ozwolf.mongo.migrations.internal.util.strict.interpolator - package net.ozwolf.mongo.migrations.internal.util.strict.interpolator
- net.ozwolf.mongo.migrations.internal.util.strict.test - package net.ozwolf.mongo.migrations.internal.util.strict.test
P
- Pending - net.ozwolf.mongo.migrations.internal.domain.MigrationStatus
R
- running() - Method in class net.ozwolf.mongo.migrations.internal.domain.Migration
- Running - net.ozwolf.mongo.migrations.internal.domain.MigrationStatus
S
- save(Migration) - Method in class net.ozwolf.mongo.migrations.internal.dao.DefaultSchemaVersionDAO
- save(Migration) - Method in interface net.ozwolf.mongo.migrations.internal.dao.SchemaVersionDAO
- SchemaVersionDAO - Interface in net.ozwolf.mongo.migrations.internal.dao
- setClassLoader(ClassLoader) - Static method in class net.ozwolf.mongo.migrations.MongoTrek
-
Set the class loader for mongoTrek to use when loading migrations files from resource paths.
- setSchemaVersionCollection(String) - Method in class net.ozwolf.mongo.migrations.MongoTrek
-
Change the schema version collection from the default
_schema_version - sortByVersionAscending() - Static method in class net.ozwolf.mongo.migrations.internal.domain.Migration
- sortByVersionDescending() - Static method in class net.ozwolf.mongo.migrations.internal.domain.Migration
- status() - Method in class net.ozwolf.mongo.migrations.MongoTrek
-
Report the status of the migrations and provided commands.
- status(boolean) - Method in class net.ozwolf.mongo.migrations.MongoTrek
-
Report the status of the migrations and provided commands.
- StrictJsonUtils - Class in net.ozwolf.mongo.migrations.internal.util
- StrictJsonUtils() - Constructor for class net.ozwolf.mongo.migrations.internal.util.StrictJsonUtils
- StrictOperator - Enum in net.ozwolf.mongo.migrations.internal.util.strict
- successful(Document) - Method in class net.ozwolf.mongo.migrations.internal.domain.Migration
- Successful - net.ozwolf.mongo.migrations.internal.domain.MigrationStatus
T
- test(Object) - Method in class net.ozwolf.mongo.migrations.internal.util.strict.test.DateTest
- toString() - Method in class net.ozwolf.mongo.migrations.internal.domain.Migration
V
- valueOf(String) - Static method in enum net.ozwolf.mongo.migrations.internal.domain.MigrationStatus
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum net.ozwolf.mongo.migrations.internal.util.strict.StrictOperator
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.ozwolf.mongo.migrations.internal.domain.MigrationStatus
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum net.ozwolf.mongo.migrations.internal.util.strict.StrictOperator
-
Returns an array containing the constants of this enum type, in the order they are declared.
All Classes All Packages