Class SpaceRestoreService
- java.lang.Object
-
- com.atlassian.confluence.impl.backuprestore.restore.SpaceRestoreService
-
public class SpaceRestoreService extends Object
Service responsible for space restore operations.- Since:
- 7.17.0
-
-
Field Summary
Fields Modifier and Type Field Description static String
CONFLUENCE_FAST_XML_SPACE_RESTORE_DARK_FEATURE
static int
RESTORE_THREADS_NUMBER
-
Constructor Summary
Constructors Constructor Description SpaceRestoreService(RestoreService restoreService, com.atlassian.sal.api.features.DarkFeatureManager salDarkFeatureManager, RestoreJobValidator restoreJobValidator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BackupRestoreJobResult
doRestoreSynchronously(BackupRestoreJob job)
Run the restore process synchronously.
-
-
-
Field Detail
-
CONFLUENCE_FAST_XML_SPACE_RESTORE_DARK_FEATURE
public static final String CONFLUENCE_FAST_XML_SPACE_RESTORE_DARK_FEATURE
- See Also:
- Constant Field Values
-
RESTORE_THREADS_NUMBER
public static final int RESTORE_THREADS_NUMBER
-
-
Constructor Detail
-
SpaceRestoreService
public SpaceRestoreService(RestoreService restoreService, com.atlassian.sal.api.features.DarkFeatureManager salDarkFeatureManager, RestoreJobValidator restoreJobValidator)
-
-
Method Detail
-
doRestoreSynchronously
public BackupRestoreJobResult doRestoreSynchronously(BackupRestoreJob job) 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.
-
-