Class SiteRestoreService
- java.lang.Object
-
- com.atlassian.confluence.impl.backuprestore.restore.AbstractRestoreService
-
- com.atlassian.confluence.impl.backuprestore.restore.SiteRestoreService
-
public class SiteRestoreService extends AbstractRestoreService
Service responsible for site restore operations.- Since:
- 7.17.0
-
-
Constructor Summary
Constructors Constructor Description SiteRestoreService(ImportExportManager importExportManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupRestoreJobResult
doRestoreSynchronously(BackupRestoreJob job)
Run the restore process synchronously.-
Methods inherited from class com.atlassian.confluence.impl.backuprestore.restore.AbstractRestoreService
validateRestoreJob
-
-
-
-
Constructor Detail
-
SiteRestoreService
public SiteRestoreService(ImportExportManager importExportManager)
-
-
Method Detail
-
doRestoreSynchronously
public BackupRestoreJobResult doRestoreSynchronously(BackupRestoreJob job) throws BackupRestoreException
Run the restore process synchronously. The function either returns the result object with all required information when the restore process finishes or throws an exception (if the backup fails). At this moment, we call the legacy xml importer here. This function will be replaced when we get the new backup/restore functionality.- Specified by:
doRestoreSynchronously
in classAbstractRestoreService
- Throws:
BackupRestoreException
-
-