Class AbstractBoot3InitialSetupMigration

java.lang.Object
org.flywaydb.core.api.migration.BaseJavaMigration
org.springframework.cloud.dataflow.common.flyway.AbstractMigration
org.springframework.cloud.dataflow.server.db.migration.AbstractBoot3InitialSetupMigration
All Implemented Interfaces:
org.flywaydb.core.api.migration.JavaMigration
Direct Known Subclasses:
V6__Boot3_Add_Task3_Batch5_Schema, V7__Boot3_Add_Task3_Batch5_Schema, V7__Boot3_Add_Task3_Batch5_Schema, V7__Boot3_Add_Task3_Batch5_Schema, V7__Boot3_Add_Task3_Batch5_Schema, V7__Boot3_Add_Task3_Batch5_Schema

public abstract class AbstractBoot3InitialSetupMigration extends org.springframework.cloud.dataflow.common.flyway.AbstractMigration
Base implementation for initial Boot 3 schema
Author:
Chris Bono
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand>
    Creates the spring-batch V5 tables.
    abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand>
    Creates the spring-cloud-task V3 tables.
    List<org.springframework.cloud.dataflow.common.flyway.SqlCommand>
     

    Methods inherited from class org.springframework.cloud.dataflow.common.flyway.AbstractMigration

    migrate

    Methods inherited from class org.flywaydb.core.api.migration.BaseJavaMigration

    canExecuteInTransaction, extractVersionAndDescription, getChecksum, getDescription, getVersion, init

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.flywaydb.core.api.migration.JavaMigration

    getResolvedMigration, getType
  • Constructor Details

    • AbstractBoot3InitialSetupMigration

      public AbstractBoot3InitialSetupMigration()
  • Method Details

    • getCommands

      public List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> getCommands()
      Overrides:
      getCommands in class org.springframework.cloud.dataflow.common.flyway.AbstractMigration
    • createTask3Tables

      public abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> createTask3Tables()
      Creates the spring-cloud-task V3 tables.
      Returns:
      the list of sql commands
    • createBatch5Tables

      public abstract List<org.springframework.cloud.dataflow.common.flyway.SqlCommand> createBatch5Tables()
      Creates the spring-batch V5 tables.
      Returns:
      the list of sql commands