Class SiteRestoreService
- java.lang.Object
-
- com.atlassian.confluence.impl.backuprestore.restore.SiteRestoreService
-
public class SiteRestoreService extends Object
Service responsible for site restore operations.- Since:
- 7.17.0
-
-
Field Summary
Fields Modifier and Type Field Description static int
RESTORE_THREADS_NUMBER
-
Constructor Summary
Constructors Constructor Description SiteRestoreService(RestoreService restoreService, RestoreJobValidator restoreJobValidator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doRestoreSynchronously(BackupRestoreJob job, BackupRestoreSettings settings)
Run the restore process synchronously.
-
-
-
Constructor Detail
-
SiteRestoreService
public SiteRestoreService(RestoreService restoreService, RestoreJobValidator restoreJobValidator)
-
-
Method Detail
-
doRestoreSynchronously
public void doRestoreSynchronously(BackupRestoreJob job, BackupRestoreSettings settings) throws BackupRestoreException, InterruptedException
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). NOTE: At this moment, we call the legacy importer here. This function will be replaced when we get the new backup/restore functionality.
-
-