Package org.flywaydb.core.api.migration
Interface MigrationInfoProvider
-
@Deprecated public interface MigrationInfoProvider
Deprecated.Extend JavaMigration or BaseJavaMigration instead. Will be removed in Flyway 6.0.Migration implementors that also implement this interface will be able to specify their version and description manually, instead of having it automatically computed.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description StringgetDescription()Deprecated.Returns the description for the migration history.MigrationVersiongetVersion()Deprecated.Returns the version after the migration is complete.booleanisUndo()Deprecated.Whether this is an undo migration for a previously applied versioned migration.
-
-
-
Method Detail
-
getVersion
MigrationVersion getVersion()
Deprecated.Returns the version after the migration is complete.- Returns:
- The version after the migration is complete.
nullfor repeatable migrations.
-
getDescription
String getDescription()
Deprecated.Returns the description for the migration history.- Returns:
- The description for the migration history. Never
null.
-
isUndo
boolean isUndo()
Deprecated.Whether this is an undo migration for a previously applied versioned migration.- Returns:
trueif it is,falseif not. Alwaysfalsefor repeatable migrations.
-
-