Class BaselineAppliedMigration
java.lang.Object
org.flywaydb.core.internal.schemahistory.BaseAppliedMigration
org.flywaydb.core.api.migration.baseline.BaselineAppliedMigration
- All Implemented Interfaces:
Comparable<org.flywaydb.core.extensibility.Plugin>,org.flywaydb.core.extensibility.AppliedMigration,org.flywaydb.core.extensibility.Plugin
public class BaselineAppliedMigration
extends org.flywaydb.core.internal.schemahistory.BaseAppliedMigration
-
Field Summary
Fields inherited from class org.flywaydb.core.internal.schemahistory.BaseAppliedMigration
checksum, description, executionTime, installedBy, installedOn, installedRank, script, success, type, version -
Constructor Summary
ConstructorsConstructorDescriptionBaselineAppliedMigration(int installedRank, MigrationVersion version, String description, String type, String script, Integer checksum, Date installedOn, String installedBy, int executionTime, boolean success) -
Method Summary
Modifier and TypeMethodDescriptionorg.flywaydb.core.extensibility.AppliedMigrationcreate(int installedRank, MigrationVersion version, String description, String type, String script, Integer checksum, Date installedOn, String installedBy, int executionTime, boolean success) getState(org.flywaydb.core.internal.info.MigrationInfoContext context, boolean outOfOrder, ResolvedMigration resolvedMigration) booleanhandlesType(String type) Methods inherited from class org.flywaydb.core.internal.schemahistory.BaseAppliedMigration
equals, getChecksum, getDescription, getExecutionTime, getInstalledBy, getInstalledOn, getInstalledRank, getMissingState, getScript, getType, getVersion, hashCode, isSuccessMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flywaydb.core.extensibility.AppliedMigration
compareTo, isVersioned, updateAttributesMethods inherited from interface org.flywaydb.core.extensibility.Plugin
compareTo, copy, getName, getPluginVersion, getPriority, isEnabled, isLicensed
-
Constructor Details
-
BaselineAppliedMigration
-
BaselineAppliedMigration
public BaselineAppliedMigration()
-
-
Method Details
-
handlesType
- Specified by:
handlesTypein interfaceorg.flywaydb.core.extensibility.AppliedMigration- Overrides:
handlesTypein classorg.flywaydb.core.internal.schemahistory.BaseAppliedMigration- Returns:
- whether this migration handles the given migration type.
-
create
public org.flywaydb.core.extensibility.AppliedMigration create(int installedRank, MigrationVersion version, String description, String type, String script, Integer checksum, Date installedOn, String installedBy, int executionTime, boolean success) - Specified by:
createin interfaceorg.flywaydb.core.extensibility.AppliedMigration- Overrides:
createin classorg.flywaydb.core.internal.schemahistory.BaseAppliedMigration- Returns:
- a new instance of this type of applied migration from the given arguments.
-
getState
public MigrationState getState(org.flywaydb.core.internal.info.MigrationInfoContext context, boolean outOfOrder, ResolvedMigration resolvedMigration) - Specified by:
getStatein interfaceorg.flywaydb.core.extensibility.AppliedMigration- Overrides:
getStatein classorg.flywaydb.core.internal.schemahistory.BaseAppliedMigration
-