com.rinoto.migramongo.InitialMongoMigrationScript Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of migramongo-core Show documentation
Show all versions of migramongo-core Show documentation
Tool for migrating mongodb scripts
package com.rinoto.migramongo;
/**
* Extension of {@link com.rinoto.migramongo.MongoMigrationScript} to identify the first migration script.
*
* The method {@link #getMigrationInfo()} returns an {@link com.rinoto.migramongo.InitialMigrationInfo} instead of a {@link com.rinoto.migramongo.MigrationInfo}
*
* @author rinoto
*/
public interface InitialMongoMigrationScript extends MongoMigrationScript {
/**
* returns the information needed from MigraMongo
to know when to execute the script.
*
* see: {@link com.rinoto.migramongo.MongoMigrationScript#getMigrationInfo()}
*/
InitialMigrationInfo getMigrationInfo();
}