Class SiteRestoreService
java.lang.Object
com.atlassian.confluence.impl.backuprestore.restore.SiteRestoreService
Service responsible for site restore operations.
- Since:
- 7.17.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSiteRestoreService
(RestoreService restoreService, RestoreJobValidator restoreJobValidator) -
Method Summary
Modifier and TypeMethodDescriptionvoid
doRestoreSynchronously
(BackupRestoreJob job, BackupRestoreSettings settings) Run the restore process synchronously.
-
Field Details
-
RESTORE_THREADS_NUMBER
public static final int RESTORE_THREADS_NUMBER
-
-
Constructor Details
-
SiteRestoreService
-
-
Method Details
-
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.
-