Class VerbUtils

java.lang.Object
org.flywaydb.nc.utils.VerbUtils

public class VerbUtils extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String[]
    getAllSchemas(String[] schemas, String defaultSchema)
     
    static org.flywaydb.core.internal.nc.NativeConnectorsDatabase
    getExperimentalDatabase(org.flywaydb.core.api.configuration.Configuration configuration)
     
    static org.flywaydb.core.api.MigrationInfo[]
    getMigrations(org.flywaydb.core.internal.nc.schemahistory.SchemaHistoryModel schemaHistoryModel, org.flywaydb.core.api.resource.LoadableResourceMetadata[] sortedMigrations, org.flywaydb.core.api.configuration.Configuration configuration)
     
    static org.flywaydb.core.internal.nc.schemahistory.SchemaHistoryModel
    getSchemaHistoryModel(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.nc.NativeConnectorsDatabase experimentalDatabase)
     
    static List<org.flywaydb.core.api.MigrationInfo>
    removeIgnoredMigrations(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.api.MigrationInfo[] migrations)
     
    static Collection<org.flywaydb.core.api.resource.LoadableResourceMetadata>
    scanForResources(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.parser.ParsingContext parsingContext, org.flywaydb.core.api.Location[] locations)
     
    static String
    toMigrationText(org.flywaydb.core.api.MigrationInfo migration, boolean isExecuteInTransaction, org.flywaydb.core.internal.nc.NativeConnectorsDatabase database, boolean outOfOrder)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • VerbUtils

      public VerbUtils()
  • Method Details

    • scanForResources

      public static Collection<org.flywaydb.core.api.resource.LoadableResourceMetadata> scanForResources(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.parser.ParsingContext parsingContext, org.flywaydb.core.api.Location[] locations)
    • getSchemaHistoryModel

      public static org.flywaydb.core.internal.nc.schemahistory.SchemaHistoryModel getSchemaHistoryModel(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.internal.nc.NativeConnectorsDatabase experimentalDatabase)
    • getExperimentalDatabase

      public static org.flywaydb.core.internal.nc.NativeConnectorsDatabase getExperimentalDatabase(org.flywaydb.core.api.configuration.Configuration configuration) throws SQLException
      Throws:
      SQLException
    • getMigrations

      public static org.flywaydb.core.api.MigrationInfo[] getMigrations(org.flywaydb.core.internal.nc.schemahistory.SchemaHistoryModel schemaHistoryModel, org.flywaydb.core.api.resource.LoadableResourceMetadata[] sortedMigrations, org.flywaydb.core.api.configuration.Configuration configuration)
    • getAllSchemas

      public static String[] getAllSchemas(String[] schemas, String defaultSchema)
    • toMigrationText

      public static String toMigrationText(org.flywaydb.core.api.MigrationInfo migration, boolean isExecuteInTransaction, org.flywaydb.core.internal.nc.NativeConnectorsDatabase database, boolean outOfOrder)
    • removeIgnoredMigrations

      public static List<org.flywaydb.core.api.MigrationInfo> removeIgnoredMigrations(org.flywaydb.core.api.configuration.Configuration configuration, org.flywaydb.core.api.MigrationInfo[] migrations)