org.apache.maven.continuum.management
Class JdoDataManagementTool
java.lang.Object
   org.apache.maven.continuum.management.JdoDataManagementTool
org.apache.maven.continuum.management.JdoDataManagementTool
- All Implemented Interfaces: 
- DataManagementTool
- public class JdoDataManagementTool 
- extends Object- implements DataManagementTool
JDO implementation the database management tool API.
- Version:
- $Id: JdoDataManagementTool.java 1372260 2012-08-13 04:29:09Z brett $
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
BUILDS_XML
protected static final String BUILDS_XML
- See Also:
- Constant Field Values
factory
protected org.codehaus.plexus.jdo.ConfigurableJdoFactory factory
JdoDataManagementTool
public JdoDataManagementTool()
backupDatabase
public void backupDatabase(File backupDirectory)
                    throws IOException
- Description copied from interface: DataManagementTool
- Backup the database.
 
- 
- Specified by:
- backupDatabasein interface- DataManagementTool
 
- 
- Parameters:
- backupDirectory- the directory to backup to
- Throws:
- IOException- if there is a problem writing to the backup file
 
eraseDatabase
public void eraseDatabase()
- Description copied from interface: DataManagementTool
- Smoke the database.
 
- 
- Specified by:
- eraseDatabasein interface- DataManagementTool
 
- 
 
restoreDatabase
public void restoreDatabase(File backupDirectory,
                            boolean strict)
                     throws IOException
- Description copied from interface: DataManagementTool
- Restore the database.
 
- 
- Specified by:
- restoreDatabasein interface- DataManagementTool
 
- 
- Parameters:
- backupDirectory- the directory where the backup to restore from resides
- Throws:
- IOException- if there is a problem reading the backup file
 
Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.