Class BackupRestoreJobConverter
- java.lang.Object
-
- com.atlassian.confluence.impl.backuprestore.BackupRestoreJobConverter
-
public class BackupRestoreJobConverter extends Object
Provides methods to convert BackupRestoreJob into JobDetails and vice versa- Since:
- 8.2.0
-
-
Constructor Summary
Constructors Constructor Description BackupRestoreJobConverter(BackupRestoreFilesystemManager backupRestoreFilesystemManager)
-
Method Summary
-
-
-
Constructor Detail
-
BackupRestoreJobConverter
public BackupRestoreJobConverter(BackupRestoreFilesystemManager backupRestoreFilesystemManager)
-
-
Method Detail
-
convertToSpaceBackupJobDetails
public SpaceBackupJobDetails convertToSpaceBackupJobDetails(BackupRestoreJob backupRestoreJob, BackupRestoreSettings backupRestoreSettings, BackupRestoreJobResult backupRestoreJobResult)
-
convertToSpaceBackupSettings
public SpaceBackupSettings convertToSpaceBackupSettings(BackupRestoreSettings backupRestoreSettings)
-
convertFromSpaceBackupSettings
public BackupRestoreSettings convertFromSpaceBackupSettings(SpaceBackupSettings spaceBackupSettings)
-
convertToSiteBackupJobDetails
public SiteBackupJobDetails convertToSiteBackupJobDetails(BackupRestoreJob backupRestoreJob, BackupRestoreSettings siteBackupSettings, BackupRestoreJobResult backupRestoreJobResult)
-
convertToSiteBackupSettings
public SiteBackupSettings convertToSiteBackupSettings(BackupRestoreSettings backupRestoreSettings)
-
convertFromSiteBackupSettings
public BackupRestoreSettings convertFromSiteBackupSettings(SiteBackupSettings siteBackupSettings)
-
convertToSpaceRestoreJobDetails
public SpaceRestoreJobDetails convertToSpaceRestoreJobDetails(BackupRestoreJob backupRestoreJob, BackupRestoreSettings backupRestoreSettings, BackupRestoreJobResult backupRestoreJobResult)
-
convertToSpaceRestoreSettings
public SpaceRestoreSettings convertToSpaceRestoreSettings(BackupRestoreSettings backupRestoreSettings)
-
convertFromSpaceRestoreSettings
public BackupRestoreSettings convertFromSpaceRestoreSettings(SpaceRestoreSettings spaceRestoreSettings)
-
convertToSiteRestoreJobDetails
public SiteRestoreJobDetails convertToSiteRestoreJobDetails(BackupRestoreJob backupRestoreJob, BackupRestoreSettings backupRestoreSettings, BackupRestoreJobResult backupRestoreJobResult)
-
convertToSiteRestoreSettings
public SiteRestoreSettings convertToSiteRestoreSettings(BackupRestoreSettings backupRestoreSettings)
-
convertFromSiteRestoreSettings
public BackupRestoreSettings convertFromSiteRestoreSettings(SiteRestoreSettings siteRestoreSettings)
-
convertToJobDetails
public JobDetails convertToJobDetails(BackupRestoreJob backupRestoreJob)
Converts BackupRestoreJob into base JobDetails class
-
convertToFullJobDetails
public JobDetails convertToFullJobDetails(BackupRestoreJob backupRestoreJob, BackupRestoreSettings settings, BackupRestoreJobResult backupRestoreJobResult)
Converts BackupRestoreJob into operation and scope specific JobDetails which have additional information about job settings and results
-
convertToSearchFilter
public BackupRestoreJobsSearchFilter convertToSearchFilter(JobFilter jobFilter)
-
convertToJobStatistics
public JobStatistics convertToJobStatistics(BackupRestoreJobResult backupRestoreJobResult)
-
-