net.java.ao.schema
Class BackupRestoreImpl
java.lang.Object
net.java.ao.schema.BackupRestoreImpl
- All Implemented Interfaces:
- BackupRestore
public class BackupRestoreImpl
- extends Object
- implements BackupRestore
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BackupRestoreImpl
public BackupRestoreImpl()
backup
public List<DDLAction> backup(DatabaseProvider provider,
SchemaConfiguration schemaConfiguration)
- Description copied from interface:
BackupRestore
- Backs up the database into a list of
DDLAction
- Specified by:
backup in interface BackupRestore
- Parameters:
provider - the database providerschemaConfiguration - the schema configuration
- Returns:
- a list of
DDLAction representing the backed up database
restore
public void restore(List<DDLAction> actions,
DatabaseProvider provider)
- Description copied from interface:
BackupRestore
- Restores a list of of
DDLAction in the give database
- Specified by:
restore in interface BackupRestore
- Parameters:
actions - the DDL actions to execute.provider - the provider to the database to restore
Copyright © 2007-2010. All Rights Reserved.