|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.flyway.core.migration.MigrationInfoHelper
public class MigrationInfoHelper
Parsing support for migrations that use the standard Flyway version + description embedding in their name. These migrations have names like 1_2__Description .
| Method Summary | |
|---|---|
static java.lang.String |
extractDescription(java.lang.String migrationName)
Extracts the description from a migration name formatted as 1_2__Description. |
static SchemaVersion |
extractSchemaVersion(java.lang.String migrationName)
Extracts the schema version from a migration name formatted as 1_2__Description. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SchemaVersion extractSchemaVersion(java.lang.String migrationName)
migrationName - The string to parse.
public static java.lang.String extractDescription(java.lang.String migrationName)
migrationName - The string to parse.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||