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
ConstructorDescriptionBaselineAppliedMigration
(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.AppliedMigration
create
(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) boolean
handlesType
(String type) Methods inherited from class org.flywaydb.core.internal.schemahistory.BaseAppliedMigration
equals, getChecksum, getDescription, getExecutionTime, getInstalledBy, getInstalledOn, getInstalledRank, getMissingState, getScript, getType, getVersion, hashCode, isSuccess
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.flywaydb.core.extensibility.AppliedMigration
compareTo, isVersioned, updateAttributes
Methods inherited from interface org.flywaydb.core.extensibility.Plugin
compareTo, getPluginVersion, getPriority, isEnabled, isLicensed
-
Constructor Details
-
BaselineAppliedMigration
-
BaselineAppliedMigration
public BaselineAppliedMigration()
-
-
Method Details
-
handlesType
- Specified by:
handlesType
in interfaceorg.flywaydb.core.extensibility.AppliedMigration
- Overrides:
handlesType
in 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:
create
in interfaceorg.flywaydb.core.extensibility.AppliedMigration
- Overrides:
create
in 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:
getState
in interfaceorg.flywaydb.core.extensibility.AppliedMigration
- Overrides:
getState
in classorg.flywaydb.core.internal.schemahistory.BaseAppliedMigration
-