public interface Backup
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the database of any AO tables.
|
void |
restore(InputStream stream,
RestoreProgressMonitor monitor)
This is the method that the application will call when restoring data.
|
void |
save(OutputStream os,
BackupProgressMonitor monitor)
This is the method that the application will call when doing the backup.
|
void save(OutputStream os, BackupProgressMonitor monitor)
os - the stream to write the backup tomonitor - the progress monitor for the current backupvoid restore(InputStream stream, RestoreProgressMonitor monitor)
This is the method that the application will call when restoring data.
stream - the stream of data previously backed up by the plugin.monitor - the progress monitor for the current restorevoid clear()
Copyright © 2018 Atlassian. All rights reserved.