| Package | Description |
|---|---|
| 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 |
FlywayException, MigrationInfo and related classes.
|
| org.flywaydb.core.api.configuration |
Interfaces for Flyway configuration injection.
|
| org.flywaydb.core.api.migration |
Interfaces for Migration implementors.
|
| org.flywaydb.core.api.resolver |
Interfaces for Migration resolvers.
|
| Modifier and Type | Method | Description |
|---|---|---|
MigrationVersion |
Flyway.getBaselineVersion() |
|
MigrationVersion |
Flyway.getTarget() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
Flyway.setBaselineVersion(MigrationVersion baselineVersion) |
Sets the version to tag an existing schema with when executing baseline.
|
void |
Flyway.setTarget(MigrationVersion target) |
Sets the target version up to which Flyway should consider migrations.
|
| Modifier and Type | Field | Description |
|---|---|---|
static MigrationVersion |
MigrationVersion.CURRENT |
Current version.
|
static MigrationVersion |
MigrationVersion.EMPTY |
Version for an empty schema.
|
static MigrationVersion |
MigrationVersion.LATEST |
Latest version.
|
| Modifier and Type | Method | Description |
|---|---|---|
static MigrationVersion |
MigrationVersion.fromVersion(String version) |
Factory for creating a MigrationVersion from a version String
|
MigrationVersion |
MigrationInfo.getVersion() |
| Modifier and Type | Method | Description |
|---|---|---|
int |
MigrationVersion.compareTo(MigrationVersion o) |
| Modifier and Type | Method | Description |
|---|---|---|
MigrationVersion |
FlywayConfiguration.getBaselineVersion() |
Retrieves the version to tag an existing schema with when executing baseline.
|
MigrationVersion |
FlywayConfiguration.getTarget() |
Retrieves the target version up to which Flyway should consider migrations.
|
| Modifier and Type | Method | Description |
|---|---|---|
MigrationVersion |
MigrationInfoProvider.getVersion() |
Returns the version after the migration is complete.
|
| Modifier and Type | Method | Description |
|---|---|---|
MigrationVersion |
ResolvedMigration.getVersion() |
Copyright © 2018. All rights reserved.