|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BackupRestore
Allows backing up and restoring to a database "defined" by the given DatabaseProvider
.
calling restore(backup(provider,configuration) provider)
with the DefaultSchemaConfiguration
should be idempotent.
Method Summary | |
---|---|
List<DDLAction> |
backup(DatabaseProvider provider,
SchemaConfiguration configuration)
Backs up the database into a list of DDLAction |
void |
restore(List<DDLAction> actions,
DatabaseProvider provider)
Restores a list of of DDLAction in the give database |
Method Detail |
---|
List<DDLAction> backup(DatabaseProvider provider, SchemaConfiguration configuration)
DDLAction
provider
- the database providerconfiguration
- the schema configuration
DDLAction
representing the backed up databasevoid restore(List<DDLAction> actions, DatabaseProvider provider)
DDLAction
in the give database
actions
- the DDL actions
to execute.provider
- the provider to the database to restore
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |