|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.googlecode.flyway.core.clean.DbCleaner
public class DbCleaner
Main workflow for cleaning the database.
| Constructor Summary | |
|---|---|
DbCleaner(TransactionTemplate transactionTemplate,
DbSupport dbSupport,
java.lang.String[] schemas)
Creates a new database cleaner. |
|
| Method Summary | |
|---|---|
void |
clean()
Cleans the schemas of all objects. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DbCleaner(TransactionTemplate transactionTemplate,
DbSupport dbSupport,
java.lang.String[] schemas)
transactionTemplate - The transaction template to use.dbSupport - Database-specific functionality.schemas - The schemas to clean.| Method Detail |
|---|
public void clean()
throws FlywayException
FlywayException - when clean failed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||