Skip navigation links
A B C D E F G H I J L M O P R S T U V W 

A

afterBaseline(Connection) - Method in class org.flywaydb.core.api.callback.BaseFlywayCallback
 
afterBaseline(Connection) - Method in interface org.flywaydb.core.api.callback.FlywayCallback
Runs after the baseline task executes.
afterClean(Connection) - Method in class org.flywaydb.core.api.callback.BaseFlywayCallback
 
afterClean(Connection) - Method in interface org.flywaydb.core.api.callback.FlywayCallback
Runs after the clean task executes.
afterEachMigrate(Connection, MigrationInfo) - Method in class org.flywaydb.core.api.callback.BaseFlywayCallback
 
afterEachMigrate(Connection, MigrationInfo) - Method in interface org.flywaydb.core.api.callback.FlywayCallback
Runs after each migration script is executed.
afterEachUndo(Connection, MigrationInfo) - Method in class org.flywaydb.core.api.callback.BaseFlywayCallback
 
afterEachUndo(Connection, MigrationInfo) - Method in interface org.flywaydb.core.api.callback.FlywayCallback
Runs after each migration script is undone.
afterInfo(Connection) - Method in class org.flywaydb.core.api.callback.BaseFlywayCallback
 
afterInfo(Connection) - Method in interface org.flywaydb.core.api.callback.FlywayCallback
Runs after the info task executes.
afterMigrate(Connection) - Method in class org.flywaydb.core.api.callback.BaseFlywayCallback
 
afterMigrate(Connection) - Method in interface org.flywaydb.core.api.callback.FlywayCallback
Runs after the migrate task executes.
afterRepair(Connection) - Method in class org.flywaydb.core.api.callback.BaseFlywayCallback
 
afterRepair(Connection) - Method in interface org.flywaydb.core.api.callback.FlywayCallback
Runs after the repair task executes.
afterUndo(Connection) - Method in class org.flywaydb.core.api.callback.BaseFlywayCallback
 
afterUndo(Connection) - Method in interface org.flywaydb.core.api.callback.FlywayCallback
Runs after the undo task executes.
afterValidate(Connection) - Method in class org.flywaydb.core.api.callback.BaseFlywayCallback
 
afterValidate(Connection) - Method in interface org.flywaydb.core.api.callback.FlywayCallback
Runs after the validate task executes.
all() - Method in interface org.flywaydb.core.api.MigrationInfoService
Retrieves the full set of infos about applied, current and future migrations.
applied() - Method in interface org.flywaydb.core.api.MigrationInfoService
Retrieves the full set of infos about the migrations applied to the DB.

B

BaseFlywayCallback - Class in org.flywaydb.core.api.callback
Convenience base no-op implementation of FlywayCallback.
BaseFlywayCallback() - Constructor for class org.flywaydb.core.api.callback.BaseFlywayCallback
 
BaseJdbcMigration - Class in org.flywaydb.core.api.migration.jdbc
Convenience implementation if JdbcMigration.
BaseJdbcMigration() - Constructor for class org.flywaydb.core.api.migration.jdbc.BaseJdbcMigration
 
baseline() - Method in class org.flywaydb.core.Flyway
Baselines an existing database, excluding all migrations up to and including baselineVersion.
BaseMigrationResolver - Class in org.flywaydb.core.api.resolver
Base implementation of MigrationResolver that handles configuration injections by storing the configuration object in a field.
BaseMigrationResolver() - Constructor for class org.flywaydb.core.api.resolver.BaseMigrationResolver
 
BaseSpringJdbcMigration - Class in org.flywaydb.core.api.migration.spring
Convenience implementation if SpringJdbcMigration.
BaseSpringJdbcMigration() - Constructor for class org.flywaydb.core.api.migration.spring.BaseSpringJdbcMigration
 
beforeBaseline(Connection) - Method in class org.flywaydb.core.api.callback.BaseFlywayCallback
 
beforeBaseline(Connection) - Method in interface org.flywaydb.core.api.callback.FlywayCallback
Runs before the baseline task executes.
beforeClean(Connection) - Method in class org.flywaydb.core.api.callback.BaseFlywayCallback
 
beforeClean(Connection) - Method in interface org.flywaydb.core.api.callback.FlywayCallback
Runs before the clean task executes.
beforeEachMigrate(Connection, MigrationInfo) - Method in class org.flywaydb.core.api.callback.BaseFlywayCallback
 
beforeEachMigrate(Connection, MigrationInfo) - Method in interface org.flywaydb.core.api.callback.FlywayCallback
Runs before each migration script is executed.
beforeEachUndo(Connection, MigrationInfo) - Method in class org.flywaydb.core.api.callback.BaseFlywayCallback
 
beforeEachUndo(Connection, MigrationInfo) - Method in interface org.flywaydb.core.api.callback.FlywayCallback
Runs before each migration script is undone.
beforeInfo(Connection) - Method in class org.flywaydb.core.api.callback.BaseFlywayCallback
 
beforeInfo(Connection) - Method in interface org.flywaydb.core.api.callback.FlywayCallback
Runs before the info task executes.
beforeMigrate(Connection) - Method in class org.flywaydb.core.api.callback.BaseFlywayCallback
 
beforeMigrate(Connection) - Method in interface org.flywaydb.core.api.callback.FlywayCallback
Runs before the migrate task executes.
beforeRepair(Connection) - Method in class org.flywaydb.core.api.callback.BaseFlywayCallback
 
beforeRepair(Connection) - Method in interface org.flywaydb.core.api.callback.FlywayCallback
Runs before the repair task executes.
beforeUndo(Connection) - Method in class org.flywaydb.core.api.callback.BaseFlywayCallback
 
beforeUndo(Connection) - Method in interface org.flywaydb.core.api.callback.FlywayCallback
Runs before the undo task executes.
beforeValidate(Connection) - Method in class org.flywaydb.core.api.callback.BaseFlywayCallback
 
beforeValidate(Connection) - Method in interface org.flywaydb.core.api.callback.FlywayCallback
Runs before the validate task executes.

C

clean() - Method in class org.flywaydb.core.Flyway
Drops all objects (tables, views, procedures, triggers, ...) in the configured schemas.
compareTo(MigrationVersion) - Method in class org.flywaydb.core.api.MigrationVersion
 
ConfigurationAware - Interface in org.flywaydb.core.api.configuration
Marks a class as configuration aware (callbacks, resolvers and migrations).
configure(Properties) - Method in class org.flywaydb.core.Flyway
Configures Flyway with these properties.
configure(Map<String, String>) - Method in class org.flywaydb.core.Flyway
Configures Flyway with these properties.
Context - Interface in org.flywaydb.core.api.errorhandler
The context passed to an error handler.
ContextHolder - Class in org.flywaydb.core.api.android
Holds an Android context.
createLogger(Class<?>) - Method in interface org.flywaydb.core.api.logging.LogCreator
Creates an implementation-specific logger for this class.
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.

D

debug(String) - Method in interface org.flywaydb.core.api.logging.Log
Logs a debug message.

E

EMPTY - Static variable in class org.flywaydb.core.api.MigrationVersion
Version for an empty schema.
equals(Object) - Method in class org.flywaydb.core.api.MigrationVersion
 
Error - Interface in org.flywaydb.core.api.errorhandler
An error that occurred while executing a statement.
error(String) - Method in interface org.flywaydb.core.api.logging.Log
Logs an error message.
error(String, Exception) - Method in interface org.flywaydb.core.api.logging.Log
Logs an error message and the exception that caused it.
ErrorHandler - Interface in org.flywaydb.core.api.errorhandler
Handler for warnings and errors that occur during a migration.
execute(Connection) - Method in interface org.flywaydb.core.api.resolver.MigrationExecutor
Executes the migration this executor is associated with.
executeInTransaction() - Method in interface org.flywaydb.core.api.resolver.MigrationExecutor
Whether the execution should take place inside a transaction.

F

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() - Constructor for class org.flywaydb.core.Flyway
Creates a new instance of Flyway.
Flyway(ClassLoader) - Constructor for class org.flywaydb.core.Flyway
Creates a new instance of Flyway.
Flyway(FlywayConfiguration) - Constructor for class org.flywaydb.core.Flyway
Creates a new instance of Flyway.
FlywayCallback - Interface in org.flywaydb.core.api.callback
This is the main callback interface that should be implemented to get access to flyway lifecycle notifications.
flywayConfiguration - Variable in class org.flywaydb.core.api.callback.BaseFlywayCallback
 
FlywayConfiguration - Interface in org.flywaydb.core.api.configuration
Readonly interface for main flyway configuration.
flywayConfiguration - Variable in class org.flywaydb.core.api.migration.jdbc.BaseJdbcMigration
 
flywayConfiguration - Variable in class org.flywaydb.core.api.migration.spring.BaseSpringJdbcMigration
 
flywayConfiguration - Variable in class org.flywaydb.core.api.resolver.BaseMigrationResolver
 
FlywayException - Exception in org.flywaydb.core.api
Exception thrown when Flyway encounters a problem.
FlywayException(String, Throwable) - Constructor for exception org.flywaydb.core.api.FlywayException
Creates a new FlywayException with this message and this cause.
FlywayException(Throwable) - Constructor for exception org.flywaydb.core.api.FlywayException
Creates a new FlywayException with this cause.
FlywayException(String) - Constructor for exception org.flywaydb.core.api.FlywayException
Creates a new FlywayException with this message.
FlywayException() - Constructor for exception org.flywaydb.core.api.FlywayException
Creates a new FlywayException.
fromVersion(String) - Static method in class org.flywaydb.core.api.MigrationVersion
Factory for creating a MigrationVersion from a version String

G

getBaselineDescription() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Retrieves the description to tag an existing schema with when executing baseline.
getBaselineDescription() - Method in class org.flywaydb.core.Flyway
 
getBaselineVersion() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Retrieves the version to tag an existing schema with when executing baseline.
getBaselineVersion() - Method in class org.flywaydb.core.Flyway
 
getCallbacks() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Gets the callbacks for lifecycle notifications.
getCallbacks() - Method in class org.flywaydb.core.Flyway
Gets the callbacks for lifecycle notifications.
getChecksum() - Method in interface org.flywaydb.core.api.migration.MigrationChecksumProvider
Computes the checksum of the migration.
getChecksum() - Method in interface org.flywaydb.core.api.MigrationInfo
 
getChecksum() - Method in interface org.flywaydb.core.api.resolver.ResolvedMigration
 
getClassLoader() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Retrieves the ClassLoader to use for loading migrations, resolvers, etc from the classpath.
getClassLoader() - Method in class org.flywaydb.core.Flyway
 
getCode() - Method in interface org.flywaydb.core.api.errorhandler.Error
 
getCode() - Method in interface org.flywaydb.core.api.errorhandler.Warning
 
getContext() - Static method in class org.flywaydb.core.api.android.ContextHolder
 
getDataSource() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Retrieves the dataSource to use to access the database.
getDataSource() - Method in class org.flywaydb.core.Flyway
 
getDescription() - Method in interface org.flywaydb.core.api.migration.MigrationInfoProvider
Returns the description for the migration history.
getDescription() - Method in interface org.flywaydb.core.api.MigrationInfo
 
getDescription() - Method in interface org.flywaydb.core.api.resolver.ResolvedMigration
 
getDisplayName() - Method in enum org.flywaydb.core.api.MigrationState
 
getDryRunOutput() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
The stream where to output the SQL statements of a migration dry run.
getDryRunOutput() - Method in class org.flywaydb.core.Flyway
 
getEncoding() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Retrieves the encoding of Sql migrations.
getEncoding() - Method in class org.flywaydb.core.Flyway
 
getErrorHandlers() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Handlers for errors and warnings that occur during a migration.
getErrorHandlers() - Method in class org.flywaydb.core.Flyway
 
getErrors() - Method in interface org.flywaydb.core.api.errorhandler.Context
 
getExecutionTime() - Method in interface org.flywaydb.core.api.MigrationInfo
 
getExecutor() - Method in interface org.flywaydb.core.api.resolver.ResolvedMigration
 
getInstalledBy() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
The username that will be recorded in the schema history table as having applied the migration.
getInstalledBy() - Method in interface org.flywaydb.core.api.MigrationInfo
 
getInstalledBy() - Method in class org.flywaydb.core.Flyway
 
getInstalledOn() - Method in interface org.flywaydb.core.api.MigrationInfo
 
getInstalledRank() - Method in interface org.flywaydb.core.api.MigrationInfo
 
getLocations() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Retrieves the locations to scan recursively for migrations.
getLocations() - Method in class org.flywaydb.core.Flyway
 
getLog(Class<?>) - Static method in class org.flywaydb.core.api.logging.LogFactory
Retrieves the matching logger for this class.
getMessage() - Method in interface org.flywaydb.core.api.errorhandler.Error
 
getMessage() - Method in interface org.flywaydb.core.api.errorhandler.Warning
 
getPhysicalLocation() - Method in interface org.flywaydb.core.api.resolver.ResolvedMigration
 
getPlaceholderPrefix() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Retrieves the prefix of every placeholder.
getPlaceholderPrefix() - Method in class org.flywaydb.core.Flyway
 
getPlaceholders() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Retrieves the map of <placeholder, replacementValue> to apply to sql migration scripts.
getPlaceholders() - Method in class org.flywaydb.core.Flyway
 
getPlaceholderSuffix() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Retrieves the suffix of every placeholder.
getPlaceholderSuffix() - Method in class org.flywaydb.core.Flyway
 
getRepeatableSqlMigrationPrefix() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Retrieves the file name prefix for repeatable SQL migrations.
getRepeatableSqlMigrationPrefix() - Method in class org.flywaydb.core.Flyway
 
getResolvers() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Retrieves the 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.Flyway
 
getSchemas() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Retrieves the schemas managed by Flyway.
getSchemas() - Method in class org.flywaydb.core.Flyway
 
getScript() - Method in interface org.flywaydb.core.api.MigrationInfo
 
getScript() - Method in interface org.flywaydb.core.api.resolver.ResolvedMigration
 
getSqlMigrationPrefix() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
The file name prefix for versioned SQL migrations.
getSqlMigrationPrefix() - Method in class org.flywaydb.core.Flyway
 
getSqlMigrationSeparator() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Retrieves the file name separator for sql migrations.
getSqlMigrationSeparator() - Method in class org.flywaydb.core.Flyway
 
getSqlMigrationSuffix() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Deprecated.
Use FlywayConfiguration.getSqlMigrationSuffixes() instead. Will be removed in Flyway 6.0.0.
getSqlMigrationSuffix() - Method in class org.flywaydb.core.Flyway
 
getSqlMigrationSuffixes() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
The file name suffixes for SQL migrations.
getSqlMigrationSuffixes() - Method in class org.flywaydb.core.Flyway
 
getState() - Method in interface org.flywaydb.core.api.errorhandler.Error
 
getState() - Method in interface org.flywaydb.core.api.errorhandler.Warning
 
getState() - Method in interface org.flywaydb.core.api.MigrationInfo
 
getTable() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Retrieves the name of the schema schema history table that will be used by Flyway.
getTable() - Method in class org.flywaydb.core.Flyway
 
getTarget() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Retrieves the target version up to which Flyway should consider migrations.
getTarget() - Method in class org.flywaydb.core.Flyway
 
getType() - Method in interface org.flywaydb.core.api.MigrationInfo
 
getType() - Method in interface org.flywaydb.core.api.resolver.ResolvedMigration
 
getUndoSqlMigrationPrefix() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
The file name prefix for undo SQL migrations.
getUndoSqlMigrationPrefix() - Method in class org.flywaydb.core.Flyway
 
getVersion() - Method in interface org.flywaydb.core.api.migration.MigrationInfoProvider
Returns the version after the migration is complete.
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.errorhandler.Context
 

H

handle(Context) - Method in interface org.flywaydb.core.api.errorhandler.ErrorHandler
Handles warnings and errors that occurred during a migration.
hashCode() - Method in class org.flywaydb.core.api.MigrationVersion
 

I

info(String) - Method in interface org.flywaydb.core.api.logging.Log
Logs an info message.
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.
isApplied() - Method in enum org.flywaydb.core.api.MigrationState
 
isBaselineOnMigrate() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
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.Flyway
 
isCleanDisabled() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Whether to disable clean.
isCleanDisabled() - Method in class org.flywaydb.core.Flyway
 
isCleanOnValidationError() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Whether to automatically call clean or not when a validation error occurs.
isCleanOnValidationError() - Method in class org.flywaydb.core.Flyway
 
isFailed() - Method in enum org.flywaydb.core.api.MigrationState
 
isGroup() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
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.Flyway
 
isIgnoreFutureMigrations() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Ignore future migrations when reading the schema history table.
isIgnoreFutureMigrations() - Method in class org.flywaydb.core.Flyway
 
isIgnoreMissingMigrations() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Ignore missing migrations when reading the schema history table.
isIgnoreMissingMigrations() - Method in class org.flywaydb.core.Flyway
 
isMixed() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Whether to allow mixing transactional and non-transactional statements within the same migration.
isMixed() - Method in class org.flywaydb.core.Flyway
 
isOutOfOrder() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Allows migrations to be run "out of order".
isOutOfOrder() - Method in class org.flywaydb.core.Flyway
 
isPlaceholderReplacement() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Checks whether placeholders should be replaced.
isPlaceholderReplacement() - Method in class org.flywaydb.core.Flyway
 
isResolved() - Method in enum org.flywaydb.core.api.MigrationState
 
isSkipDefaultCallbacks() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Whether Flyway should skip the default callbacks.
isSkipDefaultCallbacks() - Method in class org.flywaydb.core.Flyway
 
isSkipDefaultResolvers() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Whether Flyway should skip the default resolvers.
isSkipDefaultResolvers() - Method in class org.flywaydb.core.Flyway
 
isSynthetic() - Method in enum org.flywaydb.core.api.MigrationType
 
isUndo() - Method in interface org.flywaydb.core.api.migration.MigrationInfoProvider
Whether this is an undo migration for a previously applied versioned migration.
isUndo() - Method in enum org.flywaydb.core.api.MigrationType
 
isValidateOnMigrate() - Method in interface org.flywaydb.core.api.configuration.FlywayConfiguration
Whether to automatically call validate or not when running migrate.
isValidateOnMigrate() - Method in class org.flywaydb.core.Flyway
 

J

JdbcMigration - Interface in org.flywaydb.core.api.migration.jdbc
Interface to be implemented by Jdbc Java Migrations.

L

LATEST - Static variable in class org.flywaydb.core.api.MigrationVersion
Latest version.
Log - Interface in org.flywaydb.core.api.logging
A logger.
LogCreator - Interface in org.flywaydb.core.api.logging
Factory for implementation-specific loggers.
LogFactory - Class in org.flywaydb.core.api.logging
Factory for loggers.

M

migrate(Connection) - Method in interface org.flywaydb.core.api.migration.jdbc.JdbcMigration
Executes this migration.
migrate(JdbcTemplate) - Method in interface org.flywaydb.core.api.migration.spring.SpringJdbcMigration
Executes this migration.
migrate() - Method in class org.flywaydb.core.Flyway
Starts the database migration.
MigrationChecksumProvider - Interface in org.flywaydb.core.api.migration
Migration implementors that also implement this interface will be able to specify their checksum (for validation), instead of having it automatically computed or default to null (for Java Migrations).
MigrationExecutor - Interface in org.flywaydb.core.api.resolver
Executes a migration.
MigrationInfo - Interface in org.flywaydb.core.api
Info about a migration.
MigrationInfoProvider - Interface in org.flywaydb.core.api.migration
Migration implementors that also implement this interface will be able to specify their version and description manually, instead of having it automatically computed.
MigrationInfoService - Interface in org.flywaydb.core.api
Info about all migrations, including applied, current and pending with details and status.
MigrationResolver - Interface in org.flywaydb.core.api.resolver
Resolves available migrations.
MigrationState - Enum in org.flywaydb.core.api
The state of a migration.
MigrationType - Enum in org.flywaydb.core.api
Type of migration.
MigrationVersion - Class in org.flywaydb.core.api
A version of a migration.

O

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.android - package org.flywaydb.core.api.android
Android-specific helper 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.errorhandler - package org.flywaydb.core.api.errorhandler
Interfaces for handling errors that occur during migration.
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.migration.jdbc - package org.flywaydb.core.api.migration.jdbc
Interfaces for Jdbc Migrations.
org.flywaydb.core.api.migration.spring - package org.flywaydb.core.api.migration.spring
Interfaces for Spring Jdbc Migrations (require Spring Jdbc + dependencies on the classpath).
org.flywaydb.core.api.resolver - package org.flywaydb.core.api.resolver
Interfaces for Migration resolvers.

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.

R

repair() - Method in class org.flywaydb.core.Flyway
Repairs the Flyway schema history table.
ResolvedMigration - Interface in org.flywaydb.core.api.resolver
Migration resolved through a MigrationResolver.
resolveMigrations() - Method in interface org.flywaydb.core.api.resolver.MigrationResolver
Resolves the available migrations.

S

setBaselineDescription(String) - Method in class org.flywaydb.core.Flyway
Sets the description to tag an existing schema with when executing baseline.
setBaselineOnMigrate(boolean) - Method in class org.flywaydb.core.Flyway
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.Flyway
Sets the version to tag an existing schema with when executing baseline.
setBaselineVersionAsString(String) - Method in class org.flywaydb.core.Flyway
Sets the version to tag an existing schema with when executing baseline.
setCallbacks(FlywayCallback...) - Method in class org.flywaydb.core.Flyway
Set the callbacks for lifecycle notifications.
setCallbacksAsClassNames(String...) - Method in class org.flywaydb.core.Flyway
Set the callbacks for lifecycle notifications.
setClassLoader(ClassLoader) - Method in class org.flywaydb.core.Flyway
Deprecated.
Will be removed in Flyway 6.0. Use Flyway(ClassLoader) instead.
setCleanDisabled(boolean) - Method in class org.flywaydb.core.Flyway
Whether to disable clean.
setCleanOnValidationError(boolean) - Method in class org.flywaydb.core.Flyway
Whether to automatically call clean or not when a validation error occurs.
setContext(Context) - Static method in class org.flywaydb.core.api.android.ContextHolder
 
setDataSource(DataSource) - Method in class org.flywaydb.core.Flyway
Sets the datasource to use.
setDataSource(String, String, String, String...) - Method in class org.flywaydb.core.Flyway
Sets the datasource to use.
setDryRunOutput(OutputStream) - Method in class org.flywaydb.core.Flyway
Sets the stream where to output the SQL statements of a migration dry run.
setDryRunOutputAsFile(File) - Method in class org.flywaydb.core.Flyway
Sets the file where to output the SQL statements of a migration dry run.
setDryRunOutputAsFileName(String) - Method in class org.flywaydb.core.Flyway
Sets the file where to output the SQL statements of a migration dry run.
setEncoding(String) - Method in class org.flywaydb.core.Flyway
Sets the encoding of Sql migrations.
setErrorHandlers(ErrorHandler...) - Method in class org.flywaydb.core.Flyway
Handlers for errors and warnings that occur during a migration.
setErrorHandlersAsClassNames(String...) - Method in class org.flywaydb.core.Flyway
Handlers for errors and warnings that occur during a migration.
setFallbackLogCreator(LogCreator) - Static method in class org.flywaydb.core.api.logging.LogFactory
 
setFlywayConfiguration(FlywayConfiguration) - Method in class org.flywaydb.core.api.callback.BaseFlywayCallback
 
setFlywayConfiguration(FlywayConfiguration) - Method in interface org.flywaydb.core.api.configuration.ConfigurationAware
Sets the current configuration.
setFlywayConfiguration(FlywayConfiguration) - Method in class org.flywaydb.core.api.migration.jdbc.BaseJdbcMigration
 
setFlywayConfiguration(FlywayConfiguration) - Method in class org.flywaydb.core.api.migration.spring.BaseSpringJdbcMigration
 
setFlywayConfiguration(FlywayConfiguration) - Method in class org.flywaydb.core.api.resolver.BaseMigrationResolver
 
setGroup(boolean) - Method in class org.flywaydb.core.Flyway
Whether to group all pending migrations together in the same transaction when applying them (only recommended for databases with support for DDL transactions).
setIgnoreFutureMigrations(boolean) - Method in class org.flywaydb.core.Flyway
Whether to ignore future migrations when reading the schema history table.
setIgnoreMissingMigrations(boolean) - Method in class org.flywaydb.core.Flyway
Ignore missing migrations when reading the schema history table.
setInstalledBy(String) - Method in class org.flywaydb.core.Flyway
The username that will be recorded in the schema history table as having applied the migration.
setLocations(String...) - Method in class org.flywaydb.core.Flyway
Sets the locations to scan recursively for migrations.
setLogCreator(LogCreator) - Static method in class org.flywaydb.core.api.logging.LogFactory
 
setMixed(boolean) - Method in class org.flywaydb.core.Flyway
Whether to allow mixing transactional and non-transactional statements within the same migration.
setOutOfOrder(boolean) - Method in class org.flywaydb.core.Flyway
Allows migrations to be run "out of order".
setPlaceholderPrefix(String) - Method in class org.flywaydb.core.Flyway
Sets the prefix of every placeholder.
setPlaceholderReplacement(boolean) - Method in class org.flywaydb.core.Flyway
Sets whether placeholders should be replaced.
setPlaceholders(Map<String, String>) - Method in class org.flywaydb.core.Flyway
Sets the placeholders to replace in sql migration scripts.
setPlaceholderSuffix(String) - Method in class org.flywaydb.core.Flyway
Sets the suffix of every placeholder.
setRepeatableSqlMigrationPrefix(String) - Method in class org.flywaydb.core.Flyway
Sets the file name prefix for repeatable sql migrations.
setResolvers(MigrationResolver...) - Method in class org.flywaydb.core.Flyway
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.Flyway
Sets custom MigrationResolvers to be used in addition to the built-in ones for resolving Migrations to apply.
setSchemas(String...) - Method in class org.flywaydb.core.Flyway
Sets the schemas managed by Flyway.
setSkipDefaultCallbacks(boolean) - Method in class org.flywaydb.core.Flyway
Whether Flyway should skip the default callbacks.
setSkipDefaultResolvers(boolean) - Method in class org.flywaydb.core.Flyway
Whether Flyway should skip the default resolvers.
setSqlMigrationPrefix(String) - Method in class org.flywaydb.core.Flyway
Sets the file name prefix for sql migrations.
setSqlMigrationSeparator(String) - Method in class org.flywaydb.core.Flyway
Sets the file name separator for sql migrations.
setSqlMigrationSuffix(String) - Method in class org.flywaydb.core.Flyway
Deprecated.
Use setSqlMigrationSuffixes(String...) instead. Will be removed in Flyway 6.0.0.
setSqlMigrationSuffixes(String...) - Method in class org.flywaydb.core.Flyway
The file name suffixes for SQL migrations.
setTable(String) - Method in class org.flywaydb.core.Flyway
Sets the name of the schema schema history table that will be used by Flyway.
setTarget(MigrationVersion) - Method in class org.flywaydb.core.Flyway
Sets the target version up to which Flyway should consider migrations.
setTargetAsString(String) - Method in class org.flywaydb.core.Flyway
Sets the target version up to which Flyway should consider migrations.
setUndoSqlMigrationPrefix(String) - Method in class org.flywaydb.core.Flyway
Sets the file name prefix for undo SQL migrations.
setValidateOnMigrate(boolean) - Method in class org.flywaydb.core.Flyway
Whether to automatically call validate or not when running migrate.
SpringJdbcMigration - Interface in org.flywaydb.core.api.migration.spring
Interface to be implemented by Spring Jdbc Java Migrations.

T

toString() - Method in class org.flywaydb.core.api.MigrationVersion
 

U

undo() - Method in class org.flywaydb.core.Flyway
Undoes the most recently applied versioned migration.

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.
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.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.

W

warn(String) - Method in interface org.flywaydb.core.api.logging.Log
Logs a warning message.
Warning - Interface in org.flywaydb.core.api.errorhandler
A warning that occurred while executing a statement.
A B C D E F G H I J L M O P R S T U V W 
Skip navigation links

Copyright © 2017. All rights reserved.