|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.flyway.core.migration.java.JavaMigrationResolver
public class JavaMigrationResolver
Migration resolver for java class based migrations. The classes must have a name like V1 or V1_1_3 or V1__Description or V1_1_3__Description.
| Constructor Summary | |
|---|---|
JavaMigrationResolver(java.lang.String basePackage)
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 JavaMigrationResolver(java.lang.String basePackage)
basePackage - The base package on the classpath where to migrations are located.| 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 | |||||||||