public final class FlywayDataSourceBuildTimeConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
Optional<List<String>> |
callbacks
Comma-separated list of fully qualified class names of Callback implementations
to use to hook into the Flyway lifecycle.
|
List<String> |
locations
Comma-separated list of locations to scan recursively for migrations.
|
| Constructor and Description |
|---|
FlywayDataSourceBuildTimeConfig() |
| Modifier and Type | Method and Description |
|---|---|
static FlywayDataSourceBuildTimeConfig |
defaultConfig()
Creates a
FlywayDataSourceBuildTimeConfig with default settings. |
@ConfigItem(defaultValue="db/migration") public List<String> locations
Unprefixed locations or locations starting with classpath: point to a package on the classpath and may contain both SQL and Java-based migrations.
Locations starting with filesystem: point to a directory on the filesystem, may only contain SQL migrations and are only scanned recursively down non-hidden directories.
@ConfigItem public Optional<List<String>> callbacks
Callback sub-class must have a no-args constructor and must not be abstract.
These classes must also not have any fields that hold state (unless that state is initialized in the constructor).public static final FlywayDataSourceBuildTimeConfig defaultConfig()
FlywayDataSourceBuildTimeConfig with default settings.FlywayDataSourceBuildTimeConfigCopyright © 2021 JBoss by Red Hat. All rights reserved.