A B C D E F G H I J K L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ABOVE_TARGET - org.flywaydb.core.api.MigrationState
-
This migration has not been applied yet, and won't be applied because target is set to a lower version.
- addWarning(String) - Method in class org.flywaydb.core.api.output.OperationResultBase
- AFTER_BASELINE - org.flywaydb.core.api.callback.Event
-
Fired after baseline has succeeded.
- AFTER_BASELINE_ERROR - org.flywaydb.core.api.callback.Event
-
Fired after baseline has failed.
- AFTER_BASELINE_OPERATION_FINISH - org.flywaydb.core.api.callback.Event
-
Fired after a validate operation has finished.
- AFTER_CLEAN - org.flywaydb.core.api.callback.Event
-
Fired after clean has succeeded.
- AFTER_CLEAN_ERROR - org.flywaydb.core.api.callback.Event
-
Fired after clean has failed.
- AFTER_CLEAN_OPERATION_FINISH - org.flywaydb.core.api.callback.Event
-
Fired after a clean operation has finished.
- AFTER_EACH_MIGRATE - org.flywaydb.core.api.callback.Event
-
Fired after each individual migration that succeeded.
- AFTER_EACH_MIGRATE_ERROR - org.flywaydb.core.api.callback.Event
-
Fired after each individual migration that failed.
- AFTER_EACH_MIGRATE_STATEMENT - org.flywaydb.core.api.callback.Event
-
Fired after each individual statement in a migration that succeeded.
- AFTER_EACH_MIGRATE_STATEMENT_ERROR - org.flywaydb.core.api.callback.Event
-
Fired after each individual statement in a migration that failed.
- AFTER_EACH_UNDO - org.flywaydb.core.api.callback.Event
-
Fired after each individual undo that succeeded.
- AFTER_EACH_UNDO_ERROR - org.flywaydb.core.api.callback.Event
-
Fired after each individual undo that failed.
- AFTER_EACH_UNDO_STATEMENT - org.flywaydb.core.api.callback.Event
-
Fired after each individual statement in an undo migration that succeeded.
- AFTER_EACH_UNDO_STATEMENT_ERROR - org.flywaydb.core.api.callback.Event
-
Fired after each individual statement in an undo migration that failed.
- AFTER_INFO - org.flywaydb.core.api.callback.Event
-
Fired after info has succeeded.
- AFTER_INFO_ERROR - org.flywaydb.core.api.callback.Event
-
Fired after info has failed.
- AFTER_INFO_OPERATION_FINISH - org.flywaydb.core.api.callback.Event
-
Fired after an info operation has finished.
- AFTER_MIGRATE - org.flywaydb.core.api.callback.Event
-
Fired after migrate has succeeded.
- AFTER_MIGRATE_ERROR - org.flywaydb.core.api.callback.Event
-
Fired after migrate has failed.
- AFTER_MIGRATE_OPERATION_FINISH - org.flywaydb.core.api.callback.Event
-
Fired after a migrate operation has finished.
- AFTER_REPAIR - org.flywaydb.core.api.callback.Event
-
Fired after repair has succeeded.
- AFTER_REPAIR_ERROR - org.flywaydb.core.api.callback.Event
-
Fired after repair has failed.
- AFTER_REPAIR_OPERATION_FINISH - org.flywaydb.core.api.callback.Event
-
Fired after a validate operation has finished.
- AFTER_UNDO - org.flywaydb.core.api.callback.Event
-
Fired after undo has succeeded.
- AFTER_UNDO_ERROR - org.flywaydb.core.api.callback.Event
-
Fired after undo has failed.
- AFTER_UNDO_OPERATION_FINISH - org.flywaydb.core.api.callback.Event
-
Fired after a validate operation has finished.
- AFTER_VALIDATE - org.flywaydb.core.api.callback.Event
-
Fired after validate has succeeded.
- AFTER_VALIDATE_ERROR - org.flywaydb.core.api.callback.Event
-
Fired after validate has failed.
- AFTER_VALIDATE_OPERATION_FINISH - org.flywaydb.core.api.callback.Event
-
Fired after a validate operation has finished.
- AFTER_VERSIONED - org.flywaydb.core.api.callback.Event
-
Fired after all versioned migrations are applied.
- all() - Method in interface org.flywaydb.core.api.MigrationInfoService
-
Retrieves the full set of infos about applied, current and future migrations.
- allSchemasEmpty - Variable in class org.flywaydb.core.api.output.InfoResult
- applied() - Method in interface org.flywaydb.core.api.MigrationInfoService
-
Retrieves the full set of infos about the migrations applied to the DB.
- APPLIED_REPEATABLE_MIGRATION_NOT_RESOLVED - org.flywaydb.core.api.ErrorCode
- APPLIED_VERSIONED_MIGRATION_NOT_RESOLVED - org.flywaydb.core.api.ErrorCode
- AVAILABLE - org.flywaydb.core.api.MigrationState
-
This undo migration is ready to be applied if desired.
B
- BaseCallback - Class in org.flywaydb.core.api.callback
-
Base implementation of Callback from which one can inherit.
- BaseCallback() - Constructor for class org.flywaydb.core.api.callback.BaseCallback
- BaseJavaMigration - Class in org.flywaydb.core.api.migration
-
This is the recommended class to extend for implementing Java-based Migrations.
- BaseJavaMigration() - Constructor for class org.flywaydb.core.api.migration.BaseJavaMigration
-
Creates a new instance of a Java-based migration following Flyway's default naming convention.
- baseline() - Method in class org.flywaydb.core.Flyway
-
Baselines an existing database, excluding all migrations up to and including baselineVersion.
- BASELINE - org.flywaydb.core.api.MigrationState
-
This migration has baselined this DB.
- BASELINE - org.flywaydb.core.api.MigrationType
-
Baseline migration.
- baselineDescription(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the description to tag an existing schema with when executing baseline.
- baselineMigrationPrefix(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the file name prefix for baseline migrations.
- baselineOnMigrate(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Whether to automatically call baseline when migrate is executed against a non-empty schema with no schema history table.
- BaselineResult - Class in org.flywaydb.core.api.output
- BaselineResult(String, String) - Constructor for class org.flywaydb.core.api.output.BaselineResult
- baselineVersion - Variable in class org.flywaydb.core.api.output.BaselineResult
- baselineVersion(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the version to tag an existing schema with when executing baseline.
- baselineVersion(MigrationVersion) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the version to tag an existing schema with when executing baseline.
- batch(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Whether to batch SQL statements when executing them.
- BEFORE_BASELINE - org.flywaydb.core.api.callback.Event
-
Fired before baseline is executed.
- BEFORE_CLEAN - org.flywaydb.core.api.callback.Event
-
Fired before clean is executed.
- BEFORE_CONNECT - org.flywaydb.core.api.callback.Event
-
Fired before a connection is created.
- BEFORE_EACH_MIGRATE - org.flywaydb.core.api.callback.Event
-
Fired before each individual migration is executed.
- BEFORE_EACH_MIGRATE_STATEMENT - org.flywaydb.core.api.callback.Event
-
Fired before each individual statement in a migration is executed.
- BEFORE_EACH_UNDO - org.flywaydb.core.api.callback.Event
-
Fired before each individual undo is executed.
- BEFORE_EACH_UNDO_STATEMENT - org.flywaydb.core.api.callback.Event
-
Fired before each individual statement in an undo migration is executed.
- BEFORE_INFO - org.flywaydb.core.api.callback.Event
-
Fired before info is executed.
- BEFORE_MIGRATE - org.flywaydb.core.api.callback.Event
-
Fired before migrate is executed.
- BEFORE_REPAIR - org.flywaydb.core.api.callback.Event
-
Fired before repair is executed.
- BEFORE_REPEATABLES - org.flywaydb.core.api.callback.Event
-
Fired before any repeatable migrations are applied.
- BEFORE_UNDO - org.flywaydb.core.api.callback.Event
-
Fired before undo is executed.
- BEFORE_VALIDATE - org.flywaydb.core.api.callback.Event
-
Fired before validate is executed.
- BELOW_BASELINE - org.flywaydb.core.api.MigrationState
-
This migration was not applied against this DB, because the schema history table was baselined with a higher version.
C
- Callback - Interface in org.flywaydb.core.api.callback
-
This is the main callback interface that should be implemented to handle Flyway lifecycle events.
- callbacks(String...) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Set the callbacks for lifecycle notifications.
- callbacks(Callback...) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Set the callbacks for lifecycle notifications.
- canExecuteInTransaction() - Method in interface org.flywaydb.core.api.executor.MigrationExecutor
-
Whether the execution can take place inside a transaction.
- canExecuteInTransaction() - Method in class org.flywaydb.core.api.migration.BaseJavaMigration
- canExecuteInTransaction() - Method in interface org.flywaydb.core.api.migration.JavaMigration
-
Whether the execution should take place inside a transaction.
- canHandleInTransaction(Event, Context) - Method in class org.flywaydb.core.api.callback.BaseCallback
- canHandleInTransaction(Event, Context) - Method in interface org.flywaydb.core.api.callback.Callback
-
Whether this event can be handled in a transaction or whether it must be handled outside a transaction instead.
- category - Variable in class org.flywaydb.core.api.output.InfoOutput
- category - Variable in class org.flywaydb.core.api.output.MigrateOutput
- CHECKSUM_MISMATCH - org.flywaydb.core.api.ErrorCode
- cherryPick(String...) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Gets the migrations that Flyway should consider when migrating or undoing.
- cherryPick(MigrationPattern...) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Gets the migrations that Flyway should consider when migrating or undoing.
- ClassicConfiguration - Class in org.flywaydb.core.api.configuration
-
JavaBean-style configuration for Flyway.
- ClassicConfiguration() - Constructor for class org.flywaydb.core.api.configuration.ClassicConfiguration
- ClassicConfiguration(ClassLoader) - Constructor for class org.flywaydb.core.api.configuration.ClassicConfiguration
- ClassicConfiguration(Configuration) - Constructor for class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Creates a new configuration with the same values as this existing one.
- ClassProvider<I> - Interface in org.flywaydb.core.api
-
A facility to obtain classes.
- clean() - Method in class org.flywaydb.core.Flyway
-
Drops all objects (tables, views, procedures, triggers, ...) in the configured schemas.
- cleanDisabled(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Whether to disable clean.
- cleanOnValidationError(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Whether to automatically call clean or not when a validation error occurs.
- CleanResult - Class in org.flywaydb.core.api.output
- CleanResult(String, String) - Constructor for class org.flywaydb.core.api.output.CleanResult
- CommandResultFactory - Class in org.flywaydb.core.api.output
- CommandResultFactory() - Constructor for class org.flywaydb.core.api.output.CommandResultFactory
- compareTo(Location) - Method in class org.flywaydb.core.api.Location
- compareTo(MigrationVersion) - Method in class org.flywaydb.core.api.MigrationVersion
- compareTo(LoadableResource) - Method in class org.flywaydb.core.api.resource.LoadableResource
- compareVersion(MigrationInfo) - Method in interface org.flywaydb.core.api.MigrationInfo
- CompositeResult - Class in org.flywaydb.core.api.output
- CompositeResult() - Constructor for class org.flywaydb.core.api.output.CompositeResult
- configuration(Map<String, String>) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Configures Flyway with these properties.
- configuration(Properties) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Configures Flyway with these properties.
- configuration(Configuration) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Configure with the same values as this existing configuration.
- Configuration - Interface in org.flywaydb.core.api.configuration
- CONFIGURATION - org.flywaydb.core.api.ErrorCode
- configure() - Static method in class org.flywaydb.core.Flyway
-
This is your starting point.
- configure(ClassLoader) - Static method in class org.flywaydb.core.Flyway
-
This is your starting point.
- configure(Map<String, String>) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Configures Flyway with these properties.
- configure(Properties) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Configures Flyway with these properties.
- configure(Configuration) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Configure with the same values as this existing configuration.
- configureUsingEnvVars() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Configures Flyway using FLYWAY_* environment variables.
- connectRetries(int) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
The maximum number of retries when attempting to connect to the database.
- connectRetriesInterval(int) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
The maximum time between retries when attempting to connect to the database in seconds.
- Context - Interface in org.flywaydb.core.api.callback
-
The context relevant to an event.
- Context - Interface in org.flywaydb.core.api.executor
-
The context relevant to a migration executor.
- Context - Interface in org.flywaydb.core.api.migration
-
The context relevant to a Java-based migration.
- Context - Interface in org.flywaydb.core.api.resolver
-
The context relevant to a migration resolver.
- CREATE_SCHEMA - org.flywaydb.core.api.callback.Event
-
Fired before any non-existent schemas are created.
- createBaselineResult(String) - Static method in class org.flywaydb.core.api.output.CommandResultFactory
- createCleanResult(String) - Static method in class org.flywaydb.core.api.output.CommandResultFactory
- createInfoOutput(Set<MigrationVersion>, MigrationInfo) - Static method in class org.flywaydb.core.api.output.CommandResultFactory
- createInfoResult(Configuration, Database, MigrationInfo[], MigrationInfo, boolean) - Static method in class org.flywaydb.core.api.output.CommandResultFactory
- createLogger(Class<?>) - Method in interface org.flywaydb.core.api.logging.LogCreator
-
Creates an implementation-specific logger for this class.
- createMigrateOutput(MigrationInfo, int) - Static method in class org.flywaydb.core.api.output.CommandResultFactory
- createMigrateResult(String, Configuration) - Static method in class org.flywaydb.core.api.output.CommandResultFactory
- createRepairOutput(MigrationInfo) - Static method in class org.flywaydb.core.api.output.CommandResultFactory
- createRepairOutput(AppliedMigration) - Static method in class org.flywaydb.core.api.output.CommandResultFactory
- createRepairResult(String) - Static method in class org.flywaydb.core.api.output.CommandResultFactory
- createSchemas(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Whether Flyway should attempt to create the schemas specified in the schemas property
- createUndoOutput(ResolvedMigration, int) - Static method in class org.flywaydb.core.api.output.CommandResultFactory
- createUndoResult(String, Configuration) - Static method in class org.flywaydb.core.api.output.CommandResultFactory
- createValidateOutput(MigrationInfo, ErrorDetails) - Static method in class org.flywaydb.core.api.output.CommandResultFactory
- createValidateResult(String, ErrorDetails, int, List<ValidateOutput>, List<String>) - Static method in class org.flywaydb.core.api.output.CommandResultFactory
- current() - Method in interface org.flywaydb.core.api.MigrationInfoService
-
Retrieves the information of the current applied migration, if any.
- CURRENT - Static variable in class org.flywaydb.core.api.MigrationVersion
-
Current version.
- CUSTOM - org.flywaydb.core.api.MigrationType
-
Migrations using custom MigrationResolvers.
D
- database - Variable in class org.flywaydb.core.api.output.OperationResultBase
- dataSource(String, String, String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the datasource to use.
- dataSource(DataSource) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the datasource to use.
- DB_CONNECTION - org.flywaydb.core.api.ErrorCode
- debug(String) - Method in interface org.flywaydb.core.api.logging.Log
- defaultSchema(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the default schema managed by Flyway.
- DELETE - org.flywaydb.core.api.MigrationType
-
Deleted migration
- DELETED - org.flywaydb.core.api.MigrationState
-
This is a migration that has been marked as deleted.
- description - Variable in class org.flywaydb.core.api.output.InfoOutput
- description - Variable in class org.flywaydb.core.api.output.MigrateOutput
- description - Variable in class org.flywaydb.core.api.output.RepairOutput
- description - Variable in class org.flywaydb.core.api.output.UndoOutput
- description - Variable in class org.flywaydb.core.api.output.ValidateOutput
- DESCRIPTION_MISMATCH - org.flywaydb.core.api.ErrorCode
- detectEncoding(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Whether Flyway should try to automatically detect SQL migration file encoding
- dryRunOutput(File) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the file where to output the SQL statements of a migration dry run.
- dryRunOutput(OutputStream) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the stream where to output the SQL statements of a migration dry run.
- dryRunOutput(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the file where to output the SQL statements of a migration dry run.
- DUPLICATE_DELETED_MIGRATION - org.flywaydb.core.api.ErrorCode
- DUPLICATE_REPEATABLE_MIGRATION - org.flywaydb.core.api.ErrorCode
- DUPLICATE_UNDO_MIGRATION - org.flywaydb.core.api.ErrorCode
- DUPLICATE_VERSIONED_MIGRATION - org.flywaydb.core.api.ErrorCode
E
- EMPTY - Static variable in class org.flywaydb.core.api.MigrationVersion
-
Version for an empty schema.
- encoding(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the encoding of SQL migrations.
- encoding(Charset) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the encoding of SQL migrations.
- envVars() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Configures Flyway using FLYWAY_* environment variables.
- equals(Object) - Method in class org.flywaydb.core.api.Location
- equals(Object) - Method in class org.flywaydb.core.api.MigrationVersion
- error - Variable in class org.flywaydb.core.api.output.ErrorOutput
- error - Variable in class org.flywaydb.core.api.output.MigrateErrorResult
- error(String) - Method in interface org.flywaydb.core.api.logging.Log
- error(String, Exception) - Method in interface org.flywaydb.core.api.logging.Log
- Error - Interface in org.flywaydb.core.api.callback
-
An error that occurred while executing a statement.
- ERROR - org.flywaydb.core.api.ErrorCode
- errorCode - Variable in class org.flywaydb.core.api.ErrorDetails
- errorCode - Variable in class org.flywaydb.core.api.output.ErrorOutput.ErrorOutputItem
- ErrorCode - Enum in org.flywaydb.core.api
- errorDetails - Variable in class org.flywaydb.core.api.output.ValidateOutput
- errorDetails - Variable in class org.flywaydb.core.api.output.ValidateResult
- ErrorDetails - Class in org.flywaydb.core.api
- ErrorDetails(ErrorCode, String) - Constructor for class org.flywaydb.core.api.ErrorDetails
- errorMessage - Variable in class org.flywaydb.core.api.ErrorDetails
- ErrorOutput - Class in org.flywaydb.core.api.output
- ErrorOutput(ErrorCode, String, String) - Constructor for class org.flywaydb.core.api.output.ErrorOutput
- ErrorOutput.ErrorOutputItem - Class in org.flywaydb.core.api.output
- errorOverrides(String...) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Rules for the built-in error handler that let you override specific SQL states and errors codes in order to force specific errors or warnings to be treated as debug messages, info messages, warnings or errors.
- Event - Enum in org.flywaydb.core.api.callback
-
The Flyway lifecycle events that can be handled in callbacks.
- execute(Context) - Method in interface org.flywaydb.core.api.executor.MigrationExecutor
-
Executes the migration this executor is associated with.
- executionTime - Variable in class org.flywaydb.core.api.output.InfoOutput
- executionTime - Variable in class org.flywaydb.core.api.output.MigrateOutput
- executionTime - Variable in class org.flywaydb.core.api.output.UndoOutput
F
- FAILED - org.flywaydb.core.api.MigrationState
-
This migration failed.
- FAILED_REPEATABLE_MIGRATION - org.flywaydb.core.api.ErrorCode
- FAILED_VERSIONED_MIGRATION - org.flywaydb.core.api.ErrorCode
- failOnMissingLocations(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Whether to fail if a location specified in the flyway.locations option doesn't exist
- FAULT - org.flywaydb.core.api.ErrorCode
- filepath - Variable in class org.flywaydb.core.api.output.InfoOutput
- filepath - Variable in class org.flywaydb.core.api.output.MigrateOutput
- filepath - Variable in class org.flywaydb.core.api.output.RepairOutput
- filepath - Variable in class org.flywaydb.core.api.output.UndoOutput
- filepath - Variable in class org.flywaydb.core.api.output.ValidateOutput
- FILESYSTEM_PREFIX - Static variable in class org.flywaydb.core.api.Location
-
The prefix for filesystem locations.
- FluentConfiguration - Class in org.flywaydb.core.api.configuration
-
Fluent configuration for Flyway.
- FluentConfiguration() - Constructor for class org.flywaydb.core.api.configuration.FluentConfiguration
- FluentConfiguration(ClassLoader) - Constructor for class org.flywaydb.core.api.configuration.FluentConfiguration
- Flyway - Class in org.flywaydb.core
-
This is the centre point of Flyway, and for most users, the only class they will ever have to deal with.
- Flyway(Configuration) - Constructor for class org.flywaydb.core.Flyway
-
Creates a new instance of Flyway with this configuration.
- FlywayException - Exception in org.flywaydb.core.api
-
Exception thrown when Flyway encounters a problem.
- FlywayException() - Constructor for exception org.flywaydb.core.api.FlywayException
-
Creates a new FlywayException.
- FlywayException(String) - Constructor for exception org.flywaydb.core.api.FlywayException
-
Creates a new FlywayException with this message.
- FlywayException(String, Throwable) - Constructor for exception org.flywaydb.core.api.FlywayException
-
Creates a new FlywayException with this message and this cause.
- FlywayException(String, Throwable, ErrorCode) - Constructor for exception org.flywaydb.core.api.FlywayException
-
Creates a new FlywayException with this message, cause, and error code.
- FlywayException(String, ErrorCode) - Constructor for exception org.flywaydb.core.api.FlywayException
-
Creates a new FlywayException with this message and error code
- FlywayException(Throwable) - Constructor for exception org.flywaydb.core.api.FlywayException
-
Creates a new FlywayException with this cause.
- FlywayValidateException - Exception in org.flywaydb.core.api.exception
-
Exception thrown when Flyway encounters a problem with Validate.
- FlywayValidateException(ErrorDetails, String) - Constructor for exception org.flywaydb.core.api.exception.FlywayValidateException
- flywayVersion - Variable in class org.flywaydb.core.api.output.OperationResultBase
- fromException(Exception) - Static method in class org.flywaydb.core.api.output.ErrorOutput
- fromId(String) - Static method in enum org.flywaydb.core.api.callback.Event
-
Retrieves the event with this id.
- fromMigrateException(DbMigrate.FlywayMigrateException) - Static method in class org.flywaydb.core.api.output.ErrorOutput
- fromPattern(String) - Static method in class org.flywaydb.core.api.pattern.ValidatePattern
- fromString(String) - Static method in enum org.flywaydb.core.api.MigrationType
- fromVersion(String) - Static method in class org.flywaydb.core.api.MigrationVersion
-
Create a MigrationVersion from a version String.
- FUTURE_FAILED - org.flywaydb.core.api.MigrationState
-
This migration failed.
- FUTURE_SUCCESS - org.flywaydb.core.api.MigrationState
-
This migration succeeded.
G
- getAbsolutePath() - Method in interface org.flywaydb.core.api.resource.Resource
- getAbsolutePathOnDisk() - Method in interface org.flywaydb.core.api.resource.Resource
- getAllErrorMessages() - Method in class org.flywaydb.core.api.output.ValidateResult
- getBaselineDescription() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getBaselineDescription() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Retrieves the description to tag an existing schema with when executing baseline.
- getBaselineDescription() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getBaselineMigrationPrefix() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getBaselineMigrationPrefix() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
The file name prefix for baseline migrations.
- getBaselineMigrationPrefix() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getBaselineVersion() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getBaselineVersion() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Retrieves the version to tag an existing schema with when executing baseline.
- getBaselineVersion() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getCallbackName() - Method in class org.flywaydb.core.api.callback.BaseCallback
- getCallbackName() - Method in interface org.flywaydb.core.api.callback.Callback
-
The callback name, Flyway will use this to sort the callbacks alphabetically before executing them
- getCallbacks() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getCallbacks() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Gets the callbacks for lifecycle notifications.
- getCallbacks() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getChecksum() - Method in class org.flywaydb.core.api.migration.BaseJavaMigration
- getChecksum() - Method in interface org.flywaydb.core.api.migration.JavaMigration
- getChecksum() - Method in interface org.flywaydb.core.api.MigrationInfo
- getChecksum() - Method in interface org.flywaydb.core.api.resolver.ResolvedMigration
- getCherryPick() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getCherryPick() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Gets the migrations that Flyway should consider when migrating or undoing.
- getCherryPick() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getClasses() - Method in interface org.flywaydb.core.api.ClassProvider
-
Retrieve all classes which implement the specified interface.
- getClassLoader() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getClassLoader() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Retrieves the ClassLoader to use for loading migrations, resolvers, etc.
- getClassLoader() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getClient() - Static method in class org.flywaydb.core.api.configuration.S3ClientFactory
- getCode() - Method in interface org.flywaydb.core.api.callback.Error
- getCode() - Method in interface org.flywaydb.core.api.callback.Warning
- getConfiguration() - Method in interface org.flywaydb.core.api.callback.Context
- getConfiguration() - Method in interface org.flywaydb.core.api.executor.Context
- getConfiguration() - Method in interface org.flywaydb.core.api.migration.Context
- getConfiguration() - Method in interface org.flywaydb.core.api.resolver.Context
- getConfiguration() - Method in class org.flywaydb.core.Flyway
- getConnection() - Method in interface org.flywaydb.core.api.callback.Context
- getConnection() - Method in interface org.flywaydb.core.api.executor.Context
- getConnection() - Method in interface org.flywaydb.core.api.migration.Context
- getConnectRetries() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getConnectRetries() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
The maximum number of retries when attempting to connect to the database.
- getConnectRetries() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getConnectRetriesInterval() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getConnectRetriesInterval() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
The maximum time between retries when attempting to connect to the database in seconds.
- getConnectRetriesInterval() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getDataSource() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getDataSource() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Retrieves the dataSource to use to access the database.
- getDataSource() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getDefaultSchema() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getDefaultSchema() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
The default schema managed by Flyway.
- getDefaultSchema() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getDescription() - Method in class org.flywaydb.core.api.migration.BaseJavaMigration
- getDescription() - Method in interface org.flywaydb.core.api.migration.JavaMigration
- getDescription() - Method in interface org.flywaydb.core.api.MigrationInfo
- getDescription() - Method in interface org.flywaydb.core.api.resolver.ResolvedMigration
- getDescriptor() - Method in class org.flywaydb.core.api.Location
- getDisplayName() - Method in enum org.flywaydb.core.api.MigrationState
- getDryRunOutput() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getDryRunOutput() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
The stream where to output the SQL statements of a migration dry run.
- getDryRunOutput() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getEncoding() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getEncoding() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Retrieves the encoding of Sql migrations.
- getEncoding() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getErrorCode() - Method in exception org.flywaydb.core.api.FlywayException
- getErrorOverrides() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getErrorOverrides() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Rules for the built-in error handler that let you override specific SQL states and errors codes in order to force specific errors or warnings to be treated as debug messages, info messages, warnings or errors.
- getErrorOverrides() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getErrors() - Method in interface org.flywaydb.core.api.callback.Statement
- getExecutionTime() - Method in interface org.flywaydb.core.api.MigrationInfo
- getExecutor() - Method in interface org.flywaydb.core.api.resolver.ResolvedMigration
- getFilename() - Method in interface org.flywaydb.core.api.resource.Resource
- getId() - Method in enum org.flywaydb.core.api.callback.Event
- getIgnoreMigrationPatterns() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getIgnoreMigrationPatterns() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Ignore migrations that match this comma-separated list of patterns when validating migrations.
- getIgnoreMigrationPatterns() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getInitSql() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getInitSql() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
The SQL statements to run to initialize a new database connection immediately after opening it.
- getInitSql() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getInstalledBy() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getInstalledBy() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
The username that will be recorded in the schema history table as having applied the migration.
- getInstalledBy() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getInstalledBy() - Method in interface org.flywaydb.core.api.MigrationInfo
- getInstalledOn() - Method in interface org.flywaydb.core.api.MigrationInfo
- getInstalledRank() - Method in interface org.flywaydb.core.api.MigrationInfo
- getJavaMigrationClassProvider() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getJavaMigrationClassProvider() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Retrieves the custom ClassProvider to be used to look up
JavaMigration
classes. - getJavaMigrationClassProvider() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getJavaMigrations() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getJavaMigrations() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
The manually added Java-based migrations.
- getJavaMigrations() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getJdbcProperties() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getJdbcProperties() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Properties to pass to the JDBC driver object Flyway Teams only
- getJdbcProperties() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getKerberosConfigFile() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getKerberosConfigFile() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
The path to the Kerberos config file.
- getKerberosConfigFile() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getLicenseKey() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getLicenseKey() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Your Flyway license key (FL01...).
- getLicenseKey() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getLocations() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getLocations() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Retrieves the locations to scan recursively for migrations.
- getLocations() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getLockRetryCount() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getLockRetryCount() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
The maximum number of retries when trying to obtain a lock.
- getLockRetryCount() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getLog(Class<?>) - Static method in class org.flywaydb.core.api.logging.LogFactory
-
Retrieves the matching logger for this class.
- getLoggers() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getLoggers() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
The loggers Flyway should use.
- getLoggers() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getMajor() - Method in class org.flywaydb.core.api.MigrationVersion
- getMajorAsString() - Method in class org.flywaydb.core.api.MigrationVersion
- getMessage() - Method in interface org.flywaydb.core.api.callback.Error
- getMessage() - Method in interface org.flywaydb.core.api.callback.Warning
- getMigrationInfo() - Method in interface org.flywaydb.core.api.callback.Context
- getMinorAsString() - Method in class org.flywaydb.core.api.MigrationVersion
- getOperationResult() - Method in interface org.flywaydb.core.api.callback.Context
- getOracleKerberosCacheFile() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getOracleKerberosCacheFile() - Method in interface org.flywaydb.core.api.configuration.Configuration
- getOracleKerberosCacheFile() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getOracleKerberosConfigFile() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getOracleKerberosConfigFile() - Method in interface org.flywaydb.core.api.configuration.Configuration
- getOracleKerberosConfigFile() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getOracleWalletLocation() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getOracleWalletLocation() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
The location of your Oracle wallet, used to automatically sign in to your databases.
- getOracleWalletLocation() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getPassword() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getPassword() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Retrieves the password used to construct the dataSource.
- getPassword() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getPath() - Method in class org.flywaydb.core.api.Location
- getPathRegex() - Method in class org.flywaydb.core.api.Location
- getPathRelativeToThis(String) - Method in class org.flywaydb.core.api.Location
-
Returns the path relative to this location.
- getPhysicalLocation() - Method in interface org.flywaydb.core.api.MigrationInfo
- getPhysicalLocation() - Method in interface org.flywaydb.core.api.resolver.ResolvedMigration
- getPlaceholderPrefix() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getPlaceholderPrefix() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Retrieves the prefix of every placeholder.
- getPlaceholderPrefix() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getPlaceholders() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getPlaceholders() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Retrieves the map of <placeholder, replacementValue> to apply to sql migration scripts.
- getPlaceholders() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getPlaceholderSuffix() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getPlaceholderSuffix() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Retrieves the suffix of every placeholder.
- getPlaceholderSuffix() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getPrefix() - Method in class org.flywaydb.core.api.Location
-
The prefix part of the location.
- getRelativePath() - Method in interface org.flywaydb.core.api.resource.Resource
- getRepeatableSqlMigrationPrefix() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getRepeatableSqlMigrationPrefix() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Retrieves the file name prefix for repeatable SQL migrations.
- getRepeatableSqlMigrationPrefix() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getResolvers() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getResolvers() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Retrieves the custom MigrationResolvers to be used in addition to the built-in ones for resolving Migrations to apply.
- getResolvers() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getResource(String) - Method in interface org.flywaydb.core.api.ResourceProvider
-
Retrieves the resource with this name.
- getResourceProvider() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getResourceProvider() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Retrieves the custom ResourceProvider to be used to look up resources.
- getResourceProvider() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getResources(String, String[]) - Method in interface org.flywaydb.core.api.ResourceProvider
-
Retrieve all resources whose name begins with this prefix and ends with any of these suffixes.
- getRootPath() - Method in class org.flywaydb.core.api.Location
-
The first folder in the path.
- getSchemas() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getSchemas() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
The schemas managed by Flyway.
- getSchemas() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getScript() - Method in interface org.flywaydb.core.api.MigrationInfo
- getScript() - Method in interface org.flywaydb.core.api.resolver.ResolvedMigration
- getScriptPlaceholderPrefix() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getScriptPlaceholderPrefix() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Retrieves the prefix of every script placeholder.
- getScriptPlaceholderPrefix() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getScriptPlaceholderSuffix() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getScriptPlaceholderSuffix() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Retrieves the suffix of every script placeholder.
- getScriptPlaceholderSuffix() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getSql() - Method in interface org.flywaydb.core.api.callback.Statement
- getSqlMigrationPrefix() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getSqlMigrationPrefix() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
The file name prefix for versioned SQL migrations.
- getSqlMigrationPrefix() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getSqlMigrationSeparator() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getSqlMigrationSeparator() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Retrieves the file name separator for sql migrations.
- getSqlMigrationSeparator() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getSqlMigrationSuffixes() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getSqlMigrationSuffixes() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
The file name suffixes for SQL migrations.
- getSqlMigrationSuffixes() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getState() - Method in interface org.flywaydb.core.api.callback.Error
- getState() - Method in interface org.flywaydb.core.api.callback.Warning
- getState() - Method in interface org.flywaydb.core.api.MigrationInfo
- getStatement() - Method in interface org.flywaydb.core.api.callback.Context
- getTable() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getTable() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Retrieves the name of the schema history table that will be used by Flyway.
- getTable() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getTablespace() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getTablespace() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
The tablespace where to create the schema history table that will be used by Flyway.
- getTablespace() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getTarget() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getTarget() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Gets the target version up to which Flyway should consider migrations.
- getTarget() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getType() - Method in interface org.flywaydb.core.api.MigrationInfo
- getType() - Method in interface org.flywaydb.core.api.resolver.ResolvedMigration
- getUndoSqlMigrationPrefix() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getUndoSqlMigrationPrefix() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
The file name prefix for undo SQL migrations.
- getUndoSqlMigrationPrefix() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getUrl() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getUrl() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Retrieves the url used to construct the dataSource.
- getUrl() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getUser() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- getUser() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Retrieves the user used to construct the dataSource.
- getUser() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- getVersion() - Method in class org.flywaydb.core.api.migration.BaseJavaMigration
- getVersion() - Method in interface org.flywaydb.core.api.migration.JavaMigration
- getVersion() - Method in interface org.flywaydb.core.api.MigrationInfo
- getVersion() - Method in class org.flywaydb.core.api.MigrationVersion
- getVersion() - Method in interface org.flywaydb.core.api.resolver.ResolvedMigration
- getWarnings() - Method in interface org.flywaydb.core.api.callback.Statement
- group(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Whether to group all pending migrations together in the same transaction when applying them (only recommended for databases with support for DDL transactions).
H
- handle(Event, Context) - Method in interface org.flywaydb.core.api.callback.Callback
-
Handles this Flyway lifecycle event.
- hashCode() - Method in class org.flywaydb.core.api.Location
- hashCode() - Method in class org.flywaydb.core.api.MigrationPattern
- hashCode() - Method in class org.flywaydb.core.api.MigrationVersion
I
- IGNORED - org.flywaydb.core.api.MigrationState
-
When using cherryPick, this indicates a migration that was not in the cherry picked list.
- ignoreFutureMigrations(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Deprecated.Will remove in Flyway V9. Use
ignoreMigrationPatterns
instead. Whether to ignore future migrations when reading the schema history table. These are migrations that were performed by a newer deployment of the application that are not yet available in this version. For example: we have migrations available on the classpath up to version 3.0. The schema history table indicates that a migration to version 4.0 (unknown to us) has already been applied. Instead of bombing out (fail fast) with an exception, a warning is logged and Flyway continues normally. This is useful for situations where one must be able to redeploy an older version of the application after the database has been migrated by a newer one. - ignoreIgnoredMigrations(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Deprecated.Will remove in Flyway V9. Use
ignoreMigrationPatterns
instead. Ignore ignored migrations when reading the schema history table. These are migrations that were added in between already migrated migrations in this version. For example: we have migrations available on the classpath with versions from 1.0 to 3.0. The schema history table indicates that version 1 was finished on 1.0.15, and the next one was 2.0.0. But with the next release a new migration was added to version 1: 1.0.16. Such scenario is ignored by migrate command, but by default is rejected by validate. When ignoreIgnoredMigrations is enabled, such case will not be reported by validate command. This is useful for situations where one must be able to deliver complete set of migrations in a delivery package for multiple versions of the product, and allows for further development of older versions. - ignoreMigrationPatterns(String...) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Ignore migrations that match this comma-separated list of patterns when validating migrations.
- ignoreMigrationPatterns(ValidatePattern...) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Ignore migrations that match this array of ValidatePatterns when validating migrations.
- ignoreMissingMigrations(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Deprecated.Will remove in Flyway V9. Use
ignoreMigrationPatterns
instead. Ignore missing migrations when reading the schema history table. These are migrations that were performed by an older deployment of the application that are no longer available in this version. For example: we have migrations available on the classpath with versions 1.0 and 3.0. The schema history table indicates that a migration with version 2.0 (unknown to us) has also been applied. Instead of bombing out (fail fast) with an exception, a warning is logged and Flyway continues normally. This is useful for situations where one must be able to deploy a newer version of the application even though it doesn't contain migrations included with an older one anymore. Note that if the most recently applied migration is removed, Flyway has no way to know it is missing and will mark it as future instead. - ignorePendingMigrations(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Deprecated.Will remove in Flyway V9. Use
ignoreMigrationPatterns
instead. Ignore pending migrations when reading the schema history table. These are migrations that are available but have not yet been applied. This can be useful for verifying that in-development migration changes don't contain any validation-breaking changes of migrations that have already been applied to a production environment, e.g. as part of a CI/CD process, without failing because of the existence of new migration versions. - individualResults - Variable in class org.flywaydb.core.api.output.CompositeResult
- info() - Method in class org.flywaydb.core.Flyway
-
Retrieves the complete information about all the migrations including applied, pending and current migrations with details and status.
- info(String) - Method in interface org.flywaydb.core.api.logging.Log
- InfoOutput - Class in org.flywaydb.core.api.output
- InfoOutput(String, String, String, String, String, String, String, String, String, int) - Constructor for class org.flywaydb.core.api.output.InfoOutput
- InfoResult - Class in org.flywaydb.core.api.output
- InfoResult(String, String, String, String, List<InfoOutput>, boolean) - Constructor for class org.flywaydb.core.api.output.InfoResult
- initialSchemaVersion - Variable in class org.flywaydb.core.api.output.MigrateResult
- initialSchemaVersion - Variable in class org.flywaydb.core.api.output.UndoResult
- initSql(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
The SQL statements to run to initialize a new database connection immediately after opening it.
- installedBy - Variable in class org.flywaydb.core.api.output.InfoOutput
- installedBy(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
The username that will be recorded in the schema history table as having applied the migration.
- installedOnUTC - Variable in class org.flywaydb.core.api.output.InfoOutput
- invalidMigrations - Variable in class org.flywaydb.core.api.output.ValidateResult
- isApplied() - Method in enum org.flywaydb.core.api.MigrationState
- isAtLeast(String) - Method in class org.flywaydb.core.api.MigrationVersion
-
Convenience method for quickly checking whether this version is at least as new as this other version.
- isAwsS3() - Method in class org.flywaydb.core.api.Location
-
Checks whether this denotes a location in AWS S3.
- isBaselineMigration() - Method in class org.flywaydb.core.api.migration.BaseJavaMigration
- isBaselineMigration() - Method in interface org.flywaydb.core.api.migration.JavaMigration
-
Whether this is a baseline migration.
- isBaselineMigration() - Method in enum org.flywaydb.core.api.MigrationType
- isBaselineOnMigrate() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- isBaselineOnMigrate() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Whether to automatically call baseline when migrate is executed against a non-empty schema with no schema history table.
- isBaselineOnMigrate() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- isBatch() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- isBatch() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Whether to batch SQL statements when executing them.
- isBatch() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- isClassPath() - Method in class org.flywaydb.core.api.Location
-
Checks whether this denotes a location on the classpath.
- isCleanDisabled() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- isCleanDisabled() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Whether to disable clean.
- isCleanDisabled() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- isCleanOnValidationError() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- isCleanOnValidationError() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Whether to automatically call clean or not when a validation error occurs.
- isCleanOnValidationError() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- isCreateSchemas() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- isCreateSchemas() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Whether Flyway should attempt to create the schemas specified in the schemas property.
- isCreateSchemas() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- isDebugEnabled() - Method in interface org.flywaydb.core.api.logging.Log
- isDetectEncoding() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- isDetectEncoding() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Whether Flyway should try to automatically detect SQL migration file encoding
- isDetectEncoding() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- isFailed() - Method in enum org.flywaydb.core.api.MigrationState
- isFailOnMissingLocations() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- isFailOnMissingLocations() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Whether to fail if a location specified in the flyway.locations option doesn't exist
- isFailOnMissingLocations() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- isFailOnMissingTarget() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- isFailOnMissingTarget() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Whether to fail if no migration with the configured target version exists (default:
true
) - isFailOnMissingTarget() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- isFileSystem() - Method in class org.flywaydb.core.api.Location
-
Checks whether this denotes a location on the filesystem.
- isGCS() - Method in class org.flywaydb.core.api.Location
-
Checks whether this denotes a location in Google cloud storage.
- isGroup() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- isGroup() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Whether to group all pending migrations together in the same transaction when applying them (only recommended for databases with support for DDL transactions).
- isGroup() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- isHandled() - Method in interface org.flywaydb.core.api.callback.Error
-
Checks whether this error has already been handled.
- isHandled() - Method in interface org.flywaydb.core.api.callback.Warning
-
Checks whether this warning has already been handled.
- isIgnoreFutureMigrations() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Deprecated.
- isIgnoreFutureMigrations() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Deprecated.Will remove in Flyway V9. Use
getIgnoreMigrationPatterns
instead. Ignore future migrations when reading the schema history table. These are migrations that were performed by a newer deployment of the application that are not yet available in this version. For example: we have migrations available on the classpath up to version 3.0. The schema history table indicates that a migration to version 4.0 (unknown to us) has already been applied. Instead of bombing out (fail fast) with an exception, a warning is logged and Flyway continues normally. This is useful for situations where one must be able to redeploy an older version of the application after the database has been migrated by a newer one. - isIgnoreFutureMigrations() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Deprecated.
- isIgnoreIgnoredMigrations() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Deprecated.
- isIgnoreIgnoredMigrations() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Deprecated.Will remove in Flyway V9. Use
getIgnoreMigrationPatterns
instead. Ignore ignored migrations when reading the schema history table. These are migrations that were added in between already migrated migrations in this version. For example: we have migrations available on the classpath with versions from 1.0 to 3.0. The schema history table indicates that version 1 was finished on 1.0.15, and the next one was 2.0.0. But with the next release a new migration was added to version 1: 1.0.16. Such scenario is ignored by migrate command, but by default is rejected by validate. When ignoreIgnoredMigrations is enabled, such case will not be reported by validate command. This is useful for situations where one must be able to deliver complete set of migrations in a delivery package for multiple versions of the product, and allows for further development of older versions. - isIgnoreIgnoredMigrations() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Deprecated.
- isIgnoreMissingMigrations() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Deprecated.
- isIgnoreMissingMigrations() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Deprecated.Will remove in Flyway V9. Use
getIgnoreMigrationPatterns
instead. Ignore missing migrations when reading the schema history table. These are migrations that were performed by an older deployment of the application that are no longer available in this version. For example: we have migrations available on the classpath with versions 1.0 and 3.0. The schema history table indicates that a migration with version 2.0 (unknown to us) has also been applied. Instead of bombing out (fail fast) with an exception, a warning is logged and Flyway continues normally. This is useful for situations where one must be able to deploy a newer version of the application even though it doesn't contain migrations included with an older one anymore. Note that if the most recently applied migration is removed, Flyway has no way to know it is missing and will mark it as future instead. - isIgnoreMissingMigrations() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Deprecated.
- isIgnorePendingMigrations() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Deprecated.
- isIgnorePendingMigrations() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Deprecated.Will remove in Flyway V9. Use
getIgnoreMigrationPatterns
instead. Ignore pending migrations when reading the schema history table. These are migrations that are available but have not yet been applied. This can be useful for verifying that in-development migration changes don't contain any validation-breaking changes of migrations that have already been applied to a production environment, e.g. as part of a CI/CD process, without failing because of the existence of new migration versions. - isIgnorePendingMigrations() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Deprecated.
- isMajorNewerThan(String) - Method in class org.flywaydb.core.api.MigrationVersion
-
Convenience method for quickly checking whether this major version is newer than this other major version.
- isMixed() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- isMixed() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Whether to allow mixing transactional and non-transactional statements within the same migration.
- isMixed() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- isNewerThan(String) - Method in class org.flywaydb.core.api.MigrationVersion
-
Convenience method for quickly checking whether this version is newer than this other version.
- isOracleSqlplus() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- isOracleSqlplus() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Whether to Flyway's support for Oracle SQL*Plus commands should be activated.
- isOracleSqlplus() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- isOracleSqlplusWarn() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- isOracleSqlplusWarn() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Whether Flyway should issue a warning instead of an error whenever it encounters an Oracle SQL*Plus statement it doesn't yet support.
- isOracleSqlplusWarn() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- isOutOfOrder() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- isOutOfOrder() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Allows migrations to be run "out of order".
- isOutOfOrder() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- isOutputQueryResults() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- isOutputQueryResults() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Whether Flyway should output a table with the results of queries when executing migrations.
- isOutputQueryResults() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- isParentOf(Location) - Method in class org.flywaydb.core.api.Location
-
Checks whether this location is a parent of this other location.
- isPlaceholderReplacement() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- isPlaceholderReplacement() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Checks whether placeholders should be replaced.
- isPlaceholderReplacement() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- isResolved() - Method in enum org.flywaydb.core.api.MigrationState
- isSkipDefaultCallbacks() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- isSkipDefaultCallbacks() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Whether Flyway should skip the default callbacks.
- isSkipDefaultCallbacks() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- isSkipDefaultResolvers() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- isSkipDefaultResolvers() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Whether Flyway should skip the default resolvers.
- isSkipDefaultResolvers() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- isSkipExecutingMigrations() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- isSkipExecutingMigrations() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Whether Flyway should skip actually executing the contents of the migrations and only update the schema history table.
- isSkipExecutingMigrations() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- isStream() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- isStream() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Whether to stream SQL migrations when executing them.
- isStream() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- isSynthetic() - Method in enum org.flywaydb.core.api.MigrationType
- isUndo() - Method in class org.flywaydb.core.api.migration.BaseJavaMigration
- isUndo() - Method in interface org.flywaydb.core.api.migration.JavaMigration
-
Whether this is an undo migration for a previously applied versioned migration.
- isUndo() - Method in enum org.flywaydb.core.api.MigrationType
- isValidateMigrationNaming() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- isValidateMigrationNaming() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Whether to validate migrations and callbacks whose scripts do not obey the correct naming convention.
- isValidateMigrationNaming() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- isValidateOnMigrate() - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- isValidateOnMigrate() - Method in interface org.flywaydb.core.api.configuration.Configuration
-
Whether to automatically call validate or not when running migrate.
- isValidateOnMigrate() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
J
- JavaMigration - Interface in org.flywaydb.core.api.migration
-
Interface to be implemented by Java-based Migrations.
- javaMigrationClassProvider(ClassProvider<JavaMigration>) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Custom ClassProvider to be used to look up
JavaMigration
classes. - javaMigrations(JavaMigration...) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
The manually added Java-based migrations.
- JDBC - org.flywaydb.core.api.MigrationType
-
JDBC Java-based migrations.
- JDBC_BASELINE - org.flywaydb.core.api.MigrationType
-
JDBC Java-based baseline migrations.
- JDBC_DRIVER - org.flywaydb.core.api.ErrorCode
- jdbcProperties(Map<String, String>) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Properties to pass to the JDBC driver object Flyway Teams only
K
- kerberosConfigFile(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
When connecting to a Kerberos service to authenticate, the path to the Kerberos config file.
L
- LATEST - Static variable in class org.flywaydb.core.api.MigrationVersion
-
Latest version.
- licenseKey(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Your Flyway license key (FL01...).
- load() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- LoadableResource - Class in org.flywaydb.core.api.resource
-
A loadable resource.
- LoadableResource() - Constructor for class org.flywaydb.core.api.resource.LoadableResource
- loadCallbackLocation(String, boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Scan this location for classes that implement Callback.
- loadDefaultConfigurationFiles() - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Load configuration files from the default locations: $installationDir$/conf/flyway.conf $user.home$/flyway.conf $workingDirectory$/flyway.conf The configuration files must be encoded with UTF-8.
- loadDefaultConfigurationFiles(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Load configuration files from the default locations: $installationDir$/conf/flyway.conf $user.home$/flyway.conf $workingDirectory$/flyway.conf
- Location - Class in org.flywaydb.core.api
-
A location to load migrations from.
- Location(String) - Constructor for class org.flywaydb.core.api.Location
-
Creates a new location.
- locations(String...) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the locations to scan recursively for migrations.
- locations(Location...) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the locations to scan recursively for migrations.
- lockRetryCount(int) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
- Log - Interface in org.flywaydb.core.api.logging
- LogCreator - Interface in org.flywaydb.core.api.logging
-
Factory for implementation-specific loggers.
- LogFactory - Class in org.flywaydb.core.api.logging
-
Factory for loggers.
- loggers(String...) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
The loggers Flyway should use.
M
- matches(MigrationVersion, String) - Method in class org.flywaydb.core.api.MigrationPattern
- matchesMigration(boolean, MigrationState) - Method in class org.flywaydb.core.api.pattern.ValidatePattern
- matchesPath(String) - Method in class org.flywaydb.core.api.Location
- message - Variable in class org.flywaydb.core.api.output.ErrorOutput.ErrorOutputItem
- migrate() - Method in class org.flywaydb.core.Flyway
-
Starts the database migration.
- migrate(Context) - Method in interface org.flywaydb.core.api.migration.JavaMigration
-
Executes this migration.
- MigrateErrorResult - Class in org.flywaydb.core.api.output
- MigrateErrorResult(MigrateResult, Exception) - Constructor for class org.flywaydb.core.api.output.MigrateErrorResult
- MigrateOutput - Class in org.flywaydb.core.api.output
- MigrateOutput(String, String, String, String, String, int) - Constructor for class org.flywaydb.core.api.output.MigrateOutput
- MigrateResult - Class in org.flywaydb.core.api.output
- MigrateResult(String, String, String) - Constructor for class org.flywaydb.core.api.output.MigrateResult
- MigrationExecutor - Interface in org.flywaydb.core.api.executor
-
Executes a migration.
- MigrationInfo - Interface in org.flywaydb.core.api
-
Info about a migration.
- MigrationInfoService - Interface in org.flywaydb.core.api
-
Info about all migrations, including applied, current and pending with details and status.
- MigrationPattern - Class in org.flywaydb.core.api
- MigrationPattern(String) - Constructor for class org.flywaydb.core.api.MigrationPattern
- MigrationResolver - Interface in org.flywaydb.core.api.resolver
-
Resolves available migrations.
- migrations - Variable in class org.flywaydb.core.api.output.InfoResult
- migrations - Variable in class org.flywaydb.core.api.output.MigrateResult
- migrationsAligned - Variable in class org.flywaydb.core.api.output.RepairResult
- migrationsDeleted - Variable in class org.flywaydb.core.api.output.RepairResult
- migrationsExecuted - Variable in class org.flywaydb.core.api.output.MigrateResult
- migrationsRemoved - Variable in class org.flywaydb.core.api.output.RepairResult
- MigrationState - Enum in org.flywaydb.core.api
-
The state of a migration.
- migrationsUndone - Variable in class org.flywaydb.core.api.output.UndoResult
- MigrationType - Enum in org.flywaydb.core.api
- MigrationVersion - Class in org.flywaydb.core.api
- MISSING_FAILED - org.flywaydb.core.api.MigrationState
-
This migration failed.
- MISSING_SUCCESS - org.flywaydb.core.api.MigrationState
-
This migration succeeded.
- mixed(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Whether to allow mixing transactional and non-transactional statements within the same migration.
N
- NEXT - Static variable in class org.flywaydb.core.api.MigrationVersion
-
Next version.
- notice(String) - Method in interface org.flywaydb.core.api.logging.Log
O
- operation - Variable in class org.flywaydb.core.api.output.OperationResultBase
- OperationResult - Interface in org.flywaydb.core.api.output
- OperationResultBase - Class in org.flywaydb.core.api.output
- OperationResultBase() - Constructor for class org.flywaydb.core.api.output.OperationResultBase
- oracleKerberosCacheFile(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
When authenticating to Oracle via Kerberos, the location of the local Kerberos config cache (optional).
- oracleKerberosConfigFile(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Deprecated.Will be removed in V9. Please use
FluentConfiguration.kerberosConfigFile(String)
When authenticating to Oracle via Kerberos, the location of the Kerberoskrb5.conf
file Flyway Teams only - oracleSqlplus(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Whether Flyway's support for Oracle SQL*Plus commands should be activated.
- oracleSqlplusWarn(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Whether Flyway should issue a warning instead of an error whenever it encounters an Oracle SQL*Plus statement it doesn't yet support.
- oracleWalletLocation(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
The location of your Oracle wallet, used to automatically sign in to your databases.
- org.flywaydb.core - package org.flywaydb.core
-
The main Flyway package and for most users, the only one they'll ever need to know about.
- org.flywaydb.core.api - package org.flywaydb.core.api
-
FlywayException, MigrationInfo and related classes.
- org.flywaydb.core.api.callback - package org.flywaydb.core.api.callback
-
Interfaces for Flyway lifecycle callbacks.
- org.flywaydb.core.api.configuration - package org.flywaydb.core.api.configuration
-
Interfaces for Flyway configuration injection.
- org.flywaydb.core.api.exception - package org.flywaydb.core.api.exception
- org.flywaydb.core.api.executor - package org.flywaydb.core.api.executor
-
Interfaces for Migration executors.
- org.flywaydb.core.api.logging - package org.flywaydb.core.api.logging
-
Interfaces for Flyway's log abstraction.
- org.flywaydb.core.api.migration - package org.flywaydb.core.api.migration
-
Interfaces for Migration implementors.
- org.flywaydb.core.api.output - package org.flywaydb.core.api.output
-
Private API.
- org.flywaydb.core.api.pattern - package org.flywaydb.core.api.pattern
- org.flywaydb.core.api.resolver - package org.flywaydb.core.api.resolver
-
Interfaces for Migration resolvers.
- org.flywaydb.core.api.resource - package org.flywaydb.core.api.resource
-
Classes for resources.
- OUT_OF_ORDER - org.flywaydb.core.api.MigrationState
-
This migration succeeded.
- OUTDATED - org.flywaydb.core.api.MigrationState
-
This is a repeatable migration that is outdated and should be re-applied.
- OUTDATED_REPEATABLE_MIGRATION - org.flywaydb.core.api.ErrorCode
- outOfOrder(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Allows migrations to be run "out of order".
- outputQueryResults(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Whether Flyway should output a table with the results of queries when executing migrations.
P
- pending() - Method in interface org.flywaydb.core.api.MigrationInfoService
-
Retrieves the full set of infos about pending migrations, available locally, but not yet applied to the DB.
- PENDING - org.flywaydb.core.api.MigrationState
-
This migration has not been applied yet.
- placeholderPrefix(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the prefix of every placeholder.
- placeholderReplacement(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets whether placeholders should be replaced.
- placeholders(Map<String, String>) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the placeholders to replace in sql migration scripts.
- placeholderSuffix(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the suffix of every placeholder.
R
- read() - Method in class org.flywaydb.core.api.resource.LoadableResource
-
Reads the contents of this resource.
- repair() - Method in class org.flywaydb.core.Flyway
-
Repairs the Flyway schema history table.
- repairActions - Variable in class org.flywaydb.core.api.output.RepairResult
- RepairOutput - Class in org.flywaydb.core.api.output
- RepairOutput(String, String, String) - Constructor for class org.flywaydb.core.api.output.RepairOutput
- RepairResult - Class in org.flywaydb.core.api.output
- RepairResult(String, String) - Constructor for class org.flywaydb.core.api.output.RepairResult
- repeatableSqlMigrationPrefix(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the file name prefix for repeatable sql migrations.
- RESOLVED_REPEATABLE_MIGRATION_NOT_APPLIED - org.flywaydb.core.api.ErrorCode
- RESOLVED_VERSIONED_MIGRATION_NOT_APPLIED - org.flywaydb.core.api.ErrorCode
- ResolvedMigration - Interface in org.flywaydb.core.api.resolver
-
Migration resolved through a MigrationResolver.
- resolveMigrations(Context) - Method in interface org.flywaydb.core.api.resolver.MigrationResolver
-
Resolves the available migrations.
- resolvers(String...) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets custom MigrationResolvers to be used in addition to the built-in ones for resolving Migrations to apply.
- resolvers(MigrationResolver...) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets custom MigrationResolvers to be used in addition to the built-in ones for resolving Migrations to apply.
- Resource - Interface in org.flywaydb.core.api.resource
-
A resource (such as a .sql file) used by Flyway.
- resourceProvider(ResourceProvider) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Custom ResourceProvider to be used to look up resources.
- ResourceProvider - Interface in org.flywaydb.core.api
-
A facility to obtain loadable resources.
S
- S3ClientFactory - Class in org.flywaydb.core.api.configuration
-
Factory class for S3 clients.
- SCHEMA - org.flywaydb.core.api.MigrationType
-
Schema creation migration.
- SCHEMA_DOES_NOT_EXIST - org.flywaydb.core.api.ErrorCode
- schemaName - Variable in class org.flywaydb.core.api.output.InfoResult
- schemaName - Variable in class org.flywaydb.core.api.output.MigrateResult
- schemaName - Variable in class org.flywaydb.core.api.output.UndoResult
- schemas(String...) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the schemas managed by Flyway.
- schemasCleaned - Variable in class org.flywaydb.core.api.output.CleanResult
- schemasDropped - Variable in class org.flywaydb.core.api.output.CleanResult
- schemaVersion - Variable in class org.flywaydb.core.api.output.InfoResult
- scriptPlaceholderPrefix(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the prefix of every script placeholder.
- scriptPlaceholderSuffix(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the suffix of every script placeholder.
- setBaselineDescription(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the description to tag an existing schema with when executing baseline.
- setBaselineMigrationPrefix(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the file name prefix for baseline migrations.
- setBaselineOnMigrate(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Whether to automatically call baseline when migrate is executed against a non-empty schema with no schema history table.
- setBaselineVersion(MigrationVersion) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the version to tag an existing schema with when executing baseline.
- setBaselineVersionAsString(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the version to tag an existing schema with when executing baseline.
- setBatch(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Whether to batch SQL statements when executing them.
- setCallbacks(Callback...) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Set the callbacks for lifecycle notifications.
- setCallbacksAsClassNames(String...) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Set the callbacks for lifecycle notifications.
- setCherryPick(String...) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Gets the migrations that Flyway should consider when migrating or undoing.
- setCherryPick(MigrationPattern...) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Gets the migrations that Flyway should consider when migrating or undoing.
- setClassLoader(ClassLoader) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- setCleanDisabled(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Whether to disable clean.
- setCleanOnValidationError(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Whether to automatically call clean or not when a validation error occurs.
- setClient(S3Client) - Static method in class org.flywaydb.core.api.configuration.S3ClientFactory
- setConfiguration(Configuration) - Static method in class org.flywaydb.core.api.logging.LogFactory
- setConnectRetries(int) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
The maximum number of retries when attempting to connect to the database.
- setConnectRetriesInterval(int) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
The maximum time between retries when attempting to connect to the database in seconds.
- setCreateSchemas(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- setDataSource(String, String, String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the datasource to use.
- setDataSource(DataSource) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the datasource to use.
- setDefaultSchema(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the default schema managed by Flyway.
- setDetectEncoding(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Whether Flyway should try to automatically detect SQL migration file encoding
- setDriver(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- setDryRunOutput(OutputStream) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the stream where to output the SQL statements of a migration dry run.
- setDryRunOutputAsFile(File) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the file where to output the SQL statements of a migration dry run.
- setDryRunOutputAsFileName(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the file where to output the SQL statements of a migration dry run.
- setEncoding(Charset) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the encoding of SQL migrations.
- setEncodingAsString(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the encoding of SQL migrations.
- setErrorOverrides(String...) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Rules for the built-in error handler that let you override specific SQL states and errors codes in order to force specific errors or warnings to be treated as debug messages, info messages, warnings or errors.
- setFailOnMissingLocations(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Whether to fail if a location specified in the flyway.locations option doesn't exist
- setFailOnMissingTarget(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- setFallbackLogCreator(LogCreator) - Static method in class org.flywaydb.core.api.logging.LogFactory
-
Sets the fallback LogCreator.
- setGroup(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Whether to group all pending migrations together in the same transaction when applying them (only recommended for databases with support for DDL transactions).
- setHandled(boolean) - Method in interface org.flywaydb.core.api.callback.Error
-
Sets whether this error has already been handled.
- setHandled(boolean) - Method in interface org.flywaydb.core.api.callback.Warning
-
Sets whether this warning has already been handled.
- setIgnoreFutureMigrations(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Deprecated.Will remove in Flyway V9. Use
setIgnoreMigrationPatterns
instead. Whether to ignore future migrations when reading the schema history table. These are migrations that were performed by a newer deployment of the application that are not yet available in this version. For example: we have migrations available on the classpath up to version 3.0. The schema history table indicates that a migration to version 4.0 (unknown to us) has already been applied. Instead of bombing out (fail fast) with an exception, a warning is logged and Flyway continues normally. This is useful for situations where one must be able to redeploy an older version of the application after the database has been migrated by a newer one. - setIgnoreIgnoredMigrations(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Deprecated.Will remove in Flyway V9. Use
setIgnoreMigrationPatterns
instead. Ignore ignored migrations when reading the schema history table. These are migrations that were added in between already migrated migrations in this version. For example: we have migrations available on the classpath with versions from 1.0 to 3.0. The schema history table indicates that version 1 was finished on 1.0.15, and the next one was 2.0.0. But with the next release a new migration was added to version 1: 1.0.16. Such scenario is ignored by migrate command, but by default is rejected by validate. When ignoreIgnoredMigrations is enabled, such case will not be reported by validate command. This is useful for situations where one must be able to deliver complete set of migrations in a delivery package for multiple versions of the product, and allows for further development of older versions. - setIgnoreMigrationPatterns(String...) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Ignore migrations that match this comma-separated list of patterns when validating migrations.
- setIgnoreMigrationPatterns(ValidatePattern...) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Ignore migrations that match this array of ValidatePatterns when validating migrations.
- setIgnoreMissingMigrations(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Deprecated.Will remove in Flyway V9. Use
setIgnoreMigrationPatterns
instead. Ignore missing migrations when reading the schema history table. These are migrations that were performed by an older deployment of the application that are no longer available in this version. For example: we have migrations available on the classpath with versions 1.0 and 3.0. The schema history table indicates that a migration with version 2.0 (unknown to us) has also been applied. Instead of bombing out (fail fast) with an exception, a warning is logged and Flyway continues normally. This is useful for situations where one must be able to deploy a newer version of the application even though it doesn't contain migrations included with an older one anymore. Note that if the most recently applied migration is removed, Flyway has no way to know it is missing and will mark it as future instead. - setIgnorePendingMigrations(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Deprecated.Will remove in Flyway V9. Use
setIgnoreMigrationPatterns
instead. Ignore pending migrations when reading the schema history table. These are migrations that are available but have not yet been applied. This can be useful for verifying that in-development migration changes don't contain any validation-breaking changes of migrations that have already been applied to a production environment, e.g. as part of a CI/CD process, without failing because of the existence of new migration versions. - setInitSql(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
The SQL statements to run to initialize a new database connection immediately after opening it.
- setInstalledBy(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
The username that will be recorded in the schema history table as having applied the migration.
- setJavaMigrationClassProvider(ClassProvider<JavaMigration>) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- setJavaMigrations(JavaMigration...) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
The manually added Java-based migrations.
- setJdbcProperties(Map<String, String>) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Properties to pass to the JDBC driver object.
- setKerberosConfigFile(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
When connecting to a Kerberos service to authenticate, the path to the Kerberos config file.
- setLicenseKey(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Your Flyway license key (FL01...).
- setLocations(Location...) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the locations to scan recursively for migrations.
- setLocationsAsStrings(String...) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the locations to scan recursively for migrations.
- setLockRetryCount(int) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- setLogCreator(LogCreator) - Static method in class org.flywaydb.core.api.logging.LogFactory
-
Sets the LogCreator that will be used.
- setLoggers(String...) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
The loggers Flyway should use.
- setMixed(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Whether to allow mixing transactional and non-transactional statements within the same migration.
- setOracleKerberosCacheFile(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
When Oracle needs to connect to a Kerberos service to authenticate, the location of the Kerberos cache.
- setOracleKerberosConfigFile(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Deprecated.Will be removed in V9. Please use
ClassicConfiguration.setKerberosConfigFile(String)
When Oracle needs to connect to a Kerberos service to authenticate, the location of the Kerberos configuration. Flyway Teams only - setOracleSqlplus(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Whether Flyway's support for Oracle SQL*Plus commands should be activated.
- setOracleSqlplusWarn(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Whether Flyway should issue a warning instead of an error whenever it encounters an Oracle SQL*Plus statementit doesn't yet support.
- setOracleWalletLocation(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
The location of your Oracle wallet, used to automatically sign in to your databases.
- setOutOfOrder(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Allows migrations to be run "out of order".
- setOutputQueryResults(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Whether Flyway should output a table with the results of queries when executing migrations.
- setPassword(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- setPlaceholderPrefix(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the prefix of every placeholder.
- setPlaceholderReplacement(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets whether placeholders should be replaced.
- setPlaceholders(Map<String, String>) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the placeholders to replace in SQL migration scripts.
- setPlaceholderSuffix(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the suffix of every placeholder.
- setRepairActions(DbRepair.CompletedRepairActions) - Method in class org.flywaydb.core.api.output.RepairResult
- setRepeatableSqlMigrationPrefix(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the file name prefix for repeatable sql migrations.
- setResolvers(MigrationResolver...) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets custom MigrationResolvers to be used in addition to the built-in ones for resolving Migrations to apply.
- setResolversAsClassNames(String...) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets custom MigrationResolvers to be used in addition to the built-in ones for resolving Migrations to apply.
- setResourceProvider(ResourceProvider) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- setSchemas(String[]) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the schemas managed by Flyway.
- setScriptPlaceholderPrefix(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the prefix of every script placeholder.
- setScriptPlaceholderSuffix(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the suffix of every placeholder.
- setShouldCreateSchemas(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Whether Flyway should attempt to create the schemas specified in the schemas property.
- setSkipDefaultCallbacks(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Whether Flyway should skip the default callbacks.
- setSkipDefaultResolvers(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Whether Flyway should skip the default resolvers.
- setSkipExecutingMigrations(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Whether Flyway should skip actually executing the contents of the migrations and only update the schema history table.
- setSqlMigrationPrefix(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the file name prefix for sql migrations.
- setSqlMigrationSeparator(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the file name separator for sql migrations.
- setSqlMigrationSuffixes(String...) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
The file name suffixes for SQL migrations.
- setStream(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Whether to stream SQL migrations when executing them.
- setTable(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the name of the schema history table that will be used by Flyway.
- setTablespace(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the tablespace where to create the schema history table that will be used by Flyway.
- setTarget(MigrationVersion) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the target version up to which Flyway should consider migrations.
- setTargetAsString(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the target version up to which Flyway should consider migrations.
- setUndoSqlMigrationPrefix(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Sets the file name prefix for undo SQL migrations.
- setUrl(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- setUser(String) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
- setValidateMigrationNaming(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Whether to validate migrations and callbacks whose scripts do not obey the correct naming convention.
- setValidateOnMigrate(boolean) - Method in class org.flywaydb.core.api.configuration.ClassicConfiguration
-
Whether to automatically call validate or not when running migrate.
- shouldExecute() - Method in interface org.flywaydb.core.api.executor.MigrationExecutor
-
Whether the migration associated with this executor should be executed or not.
- skipDefaultCallbacks(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Whether Flyway should skip the default callbacks.
- skipDefaultResolvers(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Whether Flyway should skip the default resolvers.
- skipExecutingMigrations(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Whether Flyway should skip actually executing the contents of the migrations and only update the schema history table.
- SQL - org.flywaydb.core.api.MigrationType
-
SQL migrations.
- SQL_BASELINE - org.flywaydb.core.api.MigrationType
-
SQL baseline migrations.
- sqlMigrationPrefix(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the file name prefix for sql migrations.
- sqlMigrationSeparator(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the file name separator for sql migrations.
- sqlMigrationSuffixes(String...) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
The file name suffixes for SQL migrations.
- stackTrace - Variable in class org.flywaydb.core.api.output.ErrorOutput.ErrorOutputItem
- state - Variable in class org.flywaydb.core.api.output.InfoOutput
- Statement - Interface in org.flywaydb.core.api.callback
-
The statement relevant to an event.
- stream(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Whether to stream SQL migrations when executing them.
- success - Variable in class org.flywaydb.core.api.output.MigrateResult
- SUCCESS - org.flywaydb.core.api.MigrationState
-
This migration succeeded.
- successfullyBaselined - Variable in class org.flywaydb.core.api.output.BaselineResult
- SUPERSEDED - org.flywaydb.core.api.MigrationState
-
This is a repeatable migration that is outdated and has already been superseded by a newer run.
- supports(Event, Context) - Method in class org.flywaydb.core.api.callback.BaseCallback
- supports(Event, Context) - Method in interface org.flywaydb.core.api.callback.Callback
-
Whether this callback supports this event or not.
T
- table(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the name of the schema history table that will be used by Flyway.
- tablespace(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the tablespace where to create the schema history table that will be used by Flyway.
- target(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the target version up to which Flyway should consider migrations.
- target(MigrationVersion) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the target version up to which Flyway should consider migrations.
- targetSchemaVersion - Variable in class org.flywaydb.core.api.output.MigrateResult
- targetSchemaVersion - Variable in class org.flywaydb.core.api.output.UndoResult
- toString() - Method in enum org.flywaydb.core.api.callback.Event
- toString() - Method in class org.flywaydb.core.api.Location
- toString() - Method in class org.flywaydb.core.api.MigrationPattern
- toString() - Method in class org.flywaydb.core.api.MigrationVersion
- type - Variable in class org.flywaydb.core.api.output.InfoOutput
- type - Variable in class org.flywaydb.core.api.output.MigrateOutput
- TYPE_MISMATCH - org.flywaydb.core.api.ErrorCode
U
- undo() - Method in class org.flywaydb.core.Flyway
-
Undoes the most recently applied versioned migration.
- UNDO_CUSTOM - org.flywaydb.core.api.MigrationType
-
Undo migrations using custom MigrationResolvers.
- UNDO_JDBC - org.flywaydb.core.api.MigrationType
-
Undo JDBC java-based migrations.
- UNDO_SQL - org.flywaydb.core.api.MigrationType
-
Undo SQL migrations.
- undoable - Variable in class org.flywaydb.core.api.output.InfoOutput
- UNDONE - org.flywaydb.core.api.MigrationState
-
This versioned migration succeeded, but has since been undone.
- undoneMigrations - Variable in class org.flywaydb.core.api.output.UndoResult
- UndoOutput - Class in org.flywaydb.core.api.output
- UndoOutput(String, String, String, int) - Constructor for class org.flywaydb.core.api.output.UndoOutput
- UndoResult - Class in org.flywaydb.core.api.output
- UndoResult(String, String, String) - Constructor for class org.flywaydb.core.api.output.UndoResult
- undoSqlMigrationPrefix(String) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Sets the file name prefix for undo SQL migrations.
V
- validate() - Method in class org.flywaydb.core.Flyway
-
Validate applied migrations against resolved ones (on the filesystem or classpath) to detect accidental changes that may prevent the schema(s) from being recreated exactly.
- VALIDATE_ERROR - org.flywaydb.core.api.ErrorCode
- validateCount - Variable in class org.flywaydb.core.api.output.ValidateResult
- validateMigrationNaming(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Whether to validate migrations and callbacks whose scripts do not obey the correct naming convention.
- validateOnMigrate(boolean) - Method in class org.flywaydb.core.api.configuration.FluentConfiguration
-
Whether to automatically call validate or not when running migrate.
- ValidateOutput - Class in org.flywaydb.core.api.output
- ValidateOutput(String, String, String, ErrorDetails) - Constructor for class org.flywaydb.core.api.output.ValidateOutput
- ValidatePattern - Class in org.flywaydb.core.api.pattern
- ValidateResult - Class in org.flywaydb.core.api.output
- ValidateResult(String, String, ErrorDetails, boolean, int, List<ValidateOutput>, List<String>) - Constructor for class org.flywaydb.core.api.output.ValidateResult
- validateWithResult() - Method in class org.flywaydb.core.Flyway
-
Validate applied migrations against resolved ones (on the filesystem or classpath) to detect accidental changes that may prevent the schema(s) from being recreated exactly.
- validationSuccessful - Variable in class org.flywaydb.core.api.output.ValidateResult
- valueOf(String) - Static method in enum org.flywaydb.core.api.callback.Event
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.flywaydb.core.api.ErrorCode
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.flywaydb.core.api.MigrationState
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.flywaydb.core.api.MigrationType
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.flywaydb.core.api.callback.Event
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.flywaydb.core.api.ErrorCode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.flywaydb.core.api.MigrationState
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.flywaydb.core.api.MigrationType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- version - Variable in class org.flywaydb.core.api.output.InfoOutput
- version - Variable in class org.flywaydb.core.api.output.MigrateOutput
- version - Variable in class org.flywaydb.core.api.output.RepairOutput
- version - Variable in class org.flywaydb.core.api.output.UndoOutput
- version - Variable in class org.flywaydb.core.api.output.ValidateOutput
W
- warn(String) - Method in interface org.flywaydb.core.api.logging.Log
- Warning - Interface in org.flywaydb.core.api.callback
-
A warning that occurred while executing a statement.
- warnings - Variable in class org.flywaydb.core.api.output.OperationResultBase
All Classes All Packages