FluentConfiguration |
DefaultConfiguration.asFluentConfiguration() |
|
FluentConfiguration |
FluentConfiguration.baselineDescription(String baselineDescription) |
Sets the description to tag an existing schema with when executing baseline.
|
FluentConfiguration |
FluentConfiguration.baselineMigrationPrefix(String baselineMigrationPrefix) |
Sets the file name prefix for baseline migrations.
|
FluentConfiguration |
FluentConfiguration.baselineOnMigrate(boolean baselineOnMigrate) |
Whether to automatically call baseline when migrate is executed against a non-empty schema with no schema history
table.
|
FluentConfiguration |
FluentConfiguration.baselineVersion(String baselineVersion) |
Sets the version to tag an existing schema with when executing baseline.
|
FluentConfiguration |
FluentConfiguration.baselineVersion(Version baselineVersion) |
Sets the version to tag an existing schema with when executing baseline.
|
FluentConfiguration |
FluentConfiguration.callbacks(String... callbacks) |
Set the callbacks for lifecycle notifications.
|
FluentConfiguration |
FluentConfiguration.callbacks(Collection<Callback> callbacks) |
Set the callbacks for lifecycle notifications.
|
FluentConfiguration |
FluentConfiguration.callbacks(Callback... callbacks) |
Set the callbacks for lifecycle notifications.
|
FluentConfiguration |
FluentConfiguration.cherryPick(String... cherryPickAsString) |
Sets the migrations that MigrateDB should consider when migrating.
|
FluentConfiguration |
FluentConfiguration.cherryPick(Collection<MigrationPattern> cherryPick) |
Sets the migrations that MigrateDB should consider when migrating.
|
FluentConfiguration |
FluentConfiguration.cherryPick(MigrationPattern... cherryPick) |
Sets the migrations that MigrateDB should consider when migrating.
|
FluentConfiguration |
FluentConfiguration.configuration(Map<String,String> props) |
Configures MigrateDB with these properties.
|
FluentConfiguration |
FluentConfiguration.configuration(Properties properties) |
Configures MigrateDB with these properties.
|
FluentConfiguration |
FluentConfiguration.configuration(Configuration configuration) |
Configure with the same values as this existing configuration.
|
FluentConfiguration |
FluentConfiguration.connectRetries(int connectRetries) |
The maximum number of retries when attempting to connect to the database.
|
FluentConfiguration |
FluentConfiguration.connectRetriesInterval(int connectRetriesInterval) |
The maximum time between retries when attempting to connect to the database in seconds.
|
FluentConfiguration |
FluentConfiguration.createSchemas(boolean createSchemas) |
Whether MigrateDB should attempt to create the schemas specified in the schemas property
|
FluentConfiguration |
FluentConfiguration.dataSource(DataSource dataSource) |
Sets the data source to use.
|
FluentConfiguration |
FluentConfiguration.dataSource(ConnectionProvider dataSource) |
Sets the data source to use.
|
FluentConfiguration |
FluentConfiguration.defaultSchema(String schema) |
Sets the default schema managed by MigrateDB.
|
FluentConfiguration |
FluentConfiguration.encoding(String encoding) |
Sets the encoding of SQL migrations.
|
FluentConfiguration |
FluentConfiguration.encoding(Charset encoding) |
Sets the encoding of SQL migrations.
|
<T extends ExtensionConfig> FluentConfiguration |
FluentConfiguration.extensionConfig(Class<T> extensionConfigType,
T value) |
Sets the extension config of type T.
|
FluentConfiguration |
FluentConfiguration.failOnMissingLocations(boolean failOnMissingLocations) |
Whether to fail if a location specified in the migratedb.locations option doesn't exist
|
FluentConfiguration |
FluentConfiguration.group(boolean group) |
Whether to group all pending migrations together in the same transaction when applying them (only recommended for
databases with support for DDL transactions).
|
FluentConfiguration |
FluentConfiguration.ignoreFutureMigrations(boolean ignoreFutureMigrations) |
Whether to ignore future migrations when reading the schema history table.
|
FluentConfiguration |
FluentConfiguration.ignoreIgnoredMigrations(boolean ignoreIgnoredMigrations) |
Ignore ignored migrations when reading the schema history table.
|
FluentConfiguration |
FluentConfiguration.ignoreMigrationPatterns(Collection<ValidatePattern> ignoreMigrationPatterns) |
Ignore migrations that match this array of ValidatePatterns when validating migrations.
|
FluentConfiguration |
FluentConfiguration.ignoreMigrationPatterns(ValidatePattern... ignoreMigrationPatterns) |
Ignore migrations that match this array of ValidatePatterns when validating migrations.
|
FluentConfiguration |
FluentConfiguration.ignoreMigrationPatternsAsStrings(String... ignoreMigrationPatterns) |
Ignore migrations that match this list of patterns when validating migrations.
|
FluentConfiguration |
FluentConfiguration.ignoreMigrationPatternsAsStrings(Collection<String> ignoreMigrationPatterns) |
Ignore migrations that match this list of patterns when validating migrations.
|
FluentConfiguration |
FluentConfiguration.ignoreMissingMigrations(boolean ignoreMissingMigrations) |
Ignore missing migrations when reading the schema history table.
|
FluentConfiguration |
FluentConfiguration.ignorePendingMigrations(boolean ignorePendingMigrations) |
Ignore pending migrations when reading the schema history table.
|
FluentConfiguration |
FluentConfiguration.initSql(String initSql) |
The SQL statements to run to initialize a new database connection immediately after opening it.
|
FluentConfiguration |
FluentConfiguration.installedBy(String installedBy) |
The username that will be recorded in the schema history table as having applied the migration.
|
FluentConfiguration |
FluentConfiguration.javaMigrationClassProvider(ClassProvider<JavaMigration> javaMigrationClassProvider) |
Custom ClassProvider to be used to look up JavaMigration classes.
|
FluentConfiguration |
FluentConfiguration.javaMigrations(Collection<JavaMigration> javaMigrations) |
The additional Java-based migrations.
|
FluentConfiguration |
FluentConfiguration.javaMigrations(JavaMigration... javaMigrations) |
The additional Java-based migrations.
|
FluentConfiguration |
FluentConfiguration.liberateOnMigrate(boolean liberateOnMigrate) |
Whether the liberate command is automatically executed on migrate if the schema history table
does not exist, but oldTable exists.
|
FluentConfiguration |
FluentConfiguration.locations(String... locations) |
Sets the locations to scan recursively for migrations.
|
FluentConfiguration |
FluentConfiguration.locations(Collection<Location> locations) |
Sets the locations to scan recursively for migrations.
|
FluentConfiguration |
FluentConfiguration.locations(Location... locations) |
Sets the locations to scan recursively for migrations.
|
FluentConfiguration |
FluentConfiguration.lockRetryCount(int lockRetryCount) |
Sets the maximum number of retries when trying to obtain a lock. -1 indicates attempting to repeat indefinitely.
|
FluentConfiguration |
FluentConfiguration.logger(String... logger) |
The logger(s) MigrateDB should use.
|
FluentConfiguration |
FluentConfiguration.logger(LogSystem logger) |
The logger MigrateDB should use.
|
FluentConfiguration |
FluentConfiguration.mixed(boolean mixed) |
Whether to allow mixing transactional and non-transactional statements within the same migration.
|
FluentConfiguration |
FluentConfiguration.oldTable(String oldTable) |
Sets the name of the old table to convert into the format used by MigrateDB.
|
FluentConfiguration |
FluentConfiguration.outOfOrder(boolean outOfOrder) |
Allows migrations to be run "out of order".
|
FluentConfiguration |
FluentConfiguration.outputQueryResults(boolean outputQueryResults) |
Whether MigrateDB should output a table with the results of queries when executing migrations.
|
FluentConfiguration |
FluentConfiguration.placeholderPrefix(String placeholderPrefix) |
Sets the prefix of every placeholder.
|
FluentConfiguration |
FluentConfiguration.placeholderReplacement(boolean placeholderReplacement) |
Sets whether placeholders should be replaced.
|
FluentConfiguration |
FluentConfiguration.placeholders(Map<String,String> placeholders) |
Sets the placeholders to replace in SQL migration scripts.
|
FluentConfiguration |
FluentConfiguration.placeholderSuffix(String placeholderSuffix) |
Sets the suffix of every placeholder.
|
FluentConfiguration |
FluentConfiguration.repeatableSqlMigrationPrefix(String repeatableSqlMigrationPrefix) |
Sets the file name prefix for repeatable SQL migrations.
|
FluentConfiguration |
FluentConfiguration.resolvers(String... resolvers) |
Sets custom MigrationResolvers to be used in addition to the built-in ones for resolving Migrations to apply.
|
FluentConfiguration |
FluentConfiguration.resolvers(Collection<MigrationResolver> resolvers) |
Sets custom MigrationResolvers to be used in addition to the built-in ones for resolving Migrations to apply.
|
FluentConfiguration |
FluentConfiguration.resolvers(MigrationResolver... resolvers) |
Sets custom MigrationResolvers to be used in addition to the built-in ones for resolving Migrations to apply.
|
FluentConfiguration |
FluentConfiguration.resourceProvider(ResourceProvider resourceProvider) |
Custom ResourceProvider to be used to look up resources.
|
FluentConfiguration |
FluentConfiguration.schemas(String... schemas) |
Sets the schemas managed by MigrateDB.
|
FluentConfiguration |
FluentConfiguration.schemas(Collection<String> schemas) |
Sets the schemas managed by MigrateDB.
|
FluentConfiguration |
FluentConfiguration.scriptPlaceholderPrefix(String scriptPlaceholderPrefix) |
Sets the prefix of every script placeholder.
|
FluentConfiguration |
FluentConfiguration.scriptPlaceholderSuffix(String scriptPlaceholderSuffix) |
Sets the suffix of every script placeholder.
|
FluentConfiguration |
FluentConfiguration.skipDefaultCallbacks(boolean skipDefaultCallbacks) |
Whether MigrateDB should skip the default callbacks.
|
FluentConfiguration |
FluentConfiguration.skipDefaultResolvers(boolean skipDefaultResolvers) |
Whether MigrateDB should skip the default resolvers.
|
FluentConfiguration |
FluentConfiguration.skipExecutingMigrations(boolean skipExecutingMigrations) |
Whether MigrateDB should skip actually executing the contents of the migrations and only update the schema
history table.
|
FluentConfiguration |
FluentConfiguration.sqlMigrationPrefix(String sqlMigrationPrefix) |
Sets the file name prefix for SQL migrations.
|
FluentConfiguration |
FluentConfiguration.sqlMigrationSeparator(String sqlMigrationSeparator) |
Sets the file name separator for SQL migrations.
|
FluentConfiguration |
FluentConfiguration.sqlMigrationSuffixes(String... sqlMigrationSuffixes) |
The file name suffixes for SQL migrations.
|
FluentConfiguration |
FluentConfiguration.sqlMigrationSuffixes(Collection<String> sqlMigrationSuffixes) |
The file name suffixes for SQL migrations.
|
FluentConfiguration |
FluentConfiguration.table(String table) |
Sets the name of the schema history table that will be used by MigrateDB.
|
FluentConfiguration |
FluentConfiguration.tablespace(@Nullable String tablespace) |
Sets the tablespace where to create the schema history table that will be used by MigrateDB.
|
FluentConfiguration |
FluentConfiguration.target(String target) |
Sets the target version up to which MigrateDB should consider migrations.
|
FluentConfiguration |
FluentConfiguration.target(TargetVersion target) |
Sets the target version up to which MigrateDB should consider migrations.
|
FluentConfiguration |
FluentConfiguration.target(Version target) |
Sets the target version up to which MigrateDB should consider migrations.
|
FluentConfiguration |
FluentConfiguration.useExtension(MigrateDbExtension extension) |
Enables a single MigrateDB extension.
|
FluentConfiguration |
FluentConfiguration.useExtensions(Iterable<MigrateDbExtension> extensions) |
Enables multiple MigrateDB extensions.
|
FluentConfiguration |
FluentConfiguration.validateMigrationNaming(boolean validateMigrationNaming) |
Whether to validate migrations and callbacks whose scripts do not obey the correct naming convention.
|
FluentConfiguration |
FluentConfiguration.validateOnMigrate(boolean validateOnMigrate) |
Whether to automatically call validate or not when running migrate.
|