|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.google.code.flyway.core.sql.SqlMigrationResolver
public class SqlMigrationResolver
Migration resolver for sql files on the classpath. The sql files must have names like V1.sql or V1_1.sql or V1__Description.sql or V1_1__Description.sql.
| Constructor Summary | |
|---|---|
SqlMigrationResolver(java.lang.String baseDir,
java.util.Map<java.lang.String,java.lang.String> placeholders)
Creates a new instance. |
|
| Method Summary | |
|---|---|
java.util.Collection<Migration> |
resolvesMigrations()
Resolves the available migrations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SqlMigrationResolver(java.lang.String baseDir,
java.util.Map<java.lang.String,java.lang.String> placeholders)
baseDir - The base directory on the classpath where to migrations are located.placeholders - A map of | Method Detail |
|---|
public java.util.Collection<Migration> resolvesMigrations()
MigrationResolver
resolvesMigrations in interface MigrationResolver
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||