|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.continuum.management.redback.JdoDataManagementTool
public class JdoDataManagementTool
JDO implementation the database management tool API.
| Constructor Summary | |
|---|---|
JdoDataManagementTool()
|
|
| Method Summary | |
|---|---|
void |
backupDatabase(File backupDirectory)
Backup the database. |
void |
eraseDatabase()
Smoke the database. |
void |
restoreDatabase(File backupDirectory,
boolean strict)
Restore the database. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JdoDataManagementTool()
| Method Detail |
|---|
public void backupDatabase(File backupDirectory)
throws IOException
DataManagementTool
backupDatabase in interface DataManagementToolbackupDirectory - the directory to backup to
IOException - if there is a problem writing to the backup filepublic void eraseDatabase()
DataManagementTool
eraseDatabase in interface DataManagementTool
public void restoreDatabase(File backupDirectory,
boolean strict)
throws IOException
DataManagementTool
restoreDatabase in interface DataManagementToolbackupDirectory - the directory where the backup to restore from resides
IOException - if there is a problem reading the backup file
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||