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

    Constructors
    Constructor
    Description
     
    BaselineAppliedMigration(int installedRank, MigrationVersion version, String description, String type, String script, Integer checksum, Date installedOn, String installedBy, int executionTime, boolean success)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
     
    getState(org.flywaydb.core.internal.info.MigrationInfoContext context, boolean outOfOrder, ResolvedMigration resolvedMigration)
     
    boolean
     

    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

      public BaselineAppliedMigration(int installedRank, MigrationVersion version, String description, String type, String script, Integer checksum, Date installedOn, String installedBy, int executionTime, boolean success)
    • BaselineAppliedMigration

      public BaselineAppliedMigration()
  • Method Details

    • handlesType

      public boolean handlesType(String type)
      Specified by:
      handlesType in interface org.flywaydb.core.extensibility.AppliedMigration
      Overrides:
      handlesType in class org.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 interface org.flywaydb.core.extensibility.AppliedMigration
      Overrides:
      create in class org.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 interface org.flywaydb.core.extensibility.AppliedMigration
      Overrides:
      getState in class org.flywaydb.core.internal.schemahistory.BaseAppliedMigration