Uses of Class
com.atlassian.confluence.backuprestore.BackupRestoreJob
-
-
Uses of BackupRestoreJob in com.atlassian.confluence.backuprestore
Methods in com.atlassian.confluence.backuprestore that return BackupRestoreJob Modifier and Type Method Description BackupRestoreJob
BackupRestoreManager. startSiteBackup(BackupRestoreSettings siteBackupSettings)
Queues a new site backup job if possible.BackupRestoreJob
BackupRestoreManager. startSiteRestore(BackupRestoreSettings siteRestoreSettings)
Queues the new site restore job if possible.BackupRestoreJob
BackupRestoreManager. startSpaceBackup(BackupRestoreSettings spaceBackupSettings)
Adds the new space backup job to the queue.BackupRestoreJob
BackupRestoreManager. startSpaceRestore(BackupRestoreSettings spaceRestoreSettings)
Adds the new space restore job to the queue.Methods in com.atlassian.confluence.backuprestore that return types with arguments of type BackupRestoreJob Modifier and Type Method Description Optional<BackupRestoreJob>
BackupRestoreManager. cancelJob(Long jobId)
Cancels the job.Collection<BackupRestoreJob>
BackupRestoreManager. findJobs(BackupRestoreJobsSearchFilter backupRestoreJobsSearchFilter)
Returns jobs based on the filter provided.Optional<BackupRestoreJob>
BackupRestoreManager. getJob(Long id)
Get job by id. -
Uses of BackupRestoreJob in com.atlassian.confluence.impl.backuprestore
Methods in com.atlassian.confluence.impl.backuprestore that return BackupRestoreJob Modifier and Type Method Description BackupRestoreJob
IndependentBackupRestoreJobManager. createAndSaveNewJob(ExecutorService executorService, JobOperation jobOperation, JobScope jobScope, JobState jobState, Instant createTime, String owner, BackupRestoreSettings backupRestoreSettings)
BackupRestoreJob
ConfluenceBackupRestoreManager. startSiteBackup(BackupRestoreSettings siteBackupSettings)
Queues a new site backup job if possible.BackupRestoreJob
ConfluenceBackupRestoreManager. startSiteRestore(BackupRestoreSettings siteRestoreSettings)
Queues the new site restore job if possible.BackupRestoreJob
ConfluenceBackupRestoreManager. startSpaceBackup(BackupRestoreSettings spaceBackupSettings)
Adds the new space backup job to the queue.BackupRestoreJob
ConfluenceBackupRestoreManager. startSpaceRestore(BackupRestoreSettings spaceRestoreSettings)
Adds the new space restore job to the queue.Methods in com.atlassian.confluence.impl.backuprestore that return types with arguments of type BackupRestoreJob Modifier and Type Method Description Optional<BackupRestoreJob>
ConfluenceBackupRestoreJobCanceller. cancelJob(BackupRestoreJob job, BackupRestoreSettings settings, String terminator)
Optional<BackupRestoreJob>
ConfluenceBackupRestoreManager. cancelJob(Long jobId)
Cancels the job.Collection<BackupRestoreJob>
ConfluenceBackupRestoreManager. findJobs(BackupRestoreJobsSearchFilter backupRestoreJobsSearchFilter)
Returns jobs based on the filter provided.Optional<BackupRestoreJob>
ConfluenceBackupRestoreManager. getJob(Long jobId)
Get job by id.Methods in com.atlassian.confluence.impl.backuprestore with parameters of type BackupRestoreJob Modifier and Type Method Description Optional<BackupRestoreJob>
ConfluenceBackupRestoreJobCanceller. cancelJob(BackupRestoreJob job, BackupRestoreSettings settings, String terminator)
JobDetails
BackupRestoreJobConverter. convertToFullJobDetails(BackupRestoreJob backupRestoreJob, BackupRestoreSettings settings, BackupRestoreJobResult backupRestoreJobResult)
Converts BackupRestoreJob into operation and scope specific JobDetails which have additional information about job settings and resultsJobDetails
BackupRestoreJobConverter. convertToJobDetails(BackupRestoreJob backupRestoreJob)
Converts BackupRestoreJob into base JobDetails classSiteBackupJobDetails
BackupRestoreJobConverter. convertToSiteBackupJobDetails(BackupRestoreJob backupRestoreJob, BackupRestoreSettings siteBackupSettings, BackupRestoreJobResult backupRestoreJobResult)
SiteRestoreJobDetails
BackupRestoreJobConverter. convertToSiteRestoreJobDetails(BackupRestoreJob backupRestoreJob, BackupRestoreSettings backupRestoreSettings, BackupRestoreJobResult backupRestoreJobResult)
SpaceBackupJobDetails
BackupRestoreJobConverter. convertToSpaceBackupJobDetails(BackupRestoreJob backupRestoreJob, BackupRestoreSettings backupRestoreSettings, BackupRestoreJobResult backupRestoreJobResult)
SpaceRestoreJobDetails
BackupRestoreJobConverter. convertToSpaceRestoreJobDetails(BackupRestoreJob backupRestoreJob, BackupRestoreSettings backupRestoreSettings, BackupRestoreJobResult backupRestoreJobResult)
ParallelTasksExecutor
ParallelTasksExecutorFactory. create(BackupRestoreJob job, int threadsNumber)
-
Uses of BackupRestoreJob in com.atlassian.confluence.impl.backuprestore.backup
Methods in com.atlassian.confluence.impl.backuprestore.backup that return BackupRestoreJob Modifier and Type Method Description protected BackupRestoreJob
AbstractBackupService. postBackupJobUpdate(String newFileName, BackupRestoreSettings settings, long jobId, ParallelTasksExecutor parallelTasksExecutor)
Methods in com.atlassian.confluence.impl.backuprestore.backup with parameters of type BackupRestoreJob Modifier and Type Method Description protected abstract JobStatisticsInfo
AbstractBackupService. backupAllEntitiesAndAttachments(BackupRestoreJob job, BackupRestoreSettings settings, ParallelTasksExecutor parallelTasksExecutor, BackupContainerWriter containerWriter)
protected JobStatisticsInfo
SiteBackupService. backupAllEntitiesAndAttachments(BackupRestoreJob job, BackupRestoreSettings settings, ParallelTasksExecutor parallelTasksExecutor, BackupContainerWriter containerWriter)
Backups all entities (including plugin data) and attachments.protected JobStatisticsInfo
SpaceBackupService. backupAllEntitiesAndAttachments(BackupRestoreJob job, BackupRestoreSettings settings, ParallelTasksExecutor parallelTasksExecutor, BackupContainerWriter containerWriter)
Backups all entities (including plugin data) and attachments.abstract void
AbstractBackupService. doBackupSynchronously(BackupRestoreJob job, BackupRestoreSettings settings)
Run the backup process synchronously.void
SiteBackupService. doBackupSynchronously(BackupRestoreJob job, BackupRestoreSettings settings)
Run the backup process synchronously.void
SpaceBackupService. doBackupSynchronously(BackupRestoreJob job, BackupRestoreSettings settings)
Run the backup process synchronously.protected File
AbstractBackupService. performBackup(BackupRestoreJob job, BackupRestoreSettings settings, ParallelTasksExecutor parallelTasksExecutor, BackupContainerWriter containerWriter)
protected void
AbstractBackupService. validateBackupJob(BackupRestoreJob job, BackupRestoreSettings settings, JobScope expectedJobScope)
protected void
SpaceBackupService. validateSpaceBackupJob(BackupRestoreJob job, BackupRestoreSettings settings)
-
Uses of BackupRestoreJob in com.atlassian.confluence.impl.backuprestore.dao
Methods in com.atlassian.confluence.impl.backuprestore.dao that return BackupRestoreJob Modifier and Type Method Description BackupRestoreJob
BackupRestoreJobDao. getById(Long jobId)
BackupRestoreJob
BackupRestoreJobDao. getNextActiveJob()
BackupRestoreJob
BackupRestoreJobDao. getNextJobForProcessing()
BackupRestoreJob
BackupRestoreJobDao. save(BackupRestoreJob job)
BackupRestoreJob
BackupRestoreJobDao. saveAndKeepId(BackupRestoreJob job)
Regular save generates the new id if the object does not exist.Methods in com.atlassian.confluence.impl.backuprestore.dao that return types with arguments of type BackupRestoreJob Modifier and Type Method Description List<BackupRestoreJob>
BackupRestoreJobDao. findJobs(BackupRestoreJobsSearchFilter backupRestoreJobsSearchFilter)
List<BackupRestoreJob>
BackupRestoreJobDao. findJobsWithExpiredZips()
This gets all jobs where the file delete time is expired and the backup zip file still existsMethods in com.atlassian.confluence.impl.backuprestore.dao with parameters of type BackupRestoreJob Modifier and Type Method Description BackupRestoreJob
BackupRestoreJobDao. save(BackupRestoreJob job)
BackupRestoreJob
BackupRestoreJobDao. saveAndKeepId(BackupRestoreJob job)
Regular save generates the new id if the object does not exist.void
BackupRestoreJobDao. update(BackupRestoreJob job)
-
Uses of BackupRestoreJob in com.atlassian.confluence.impl.backuprestore.restore
Methods in com.atlassian.confluence.impl.backuprestore.restore with parameters of type BackupRestoreJob Modifier and Type Method Description ImportedObjectsDispatcher
ImportedObjectsDispatcherFactory. createImportedObjectsDispatcher(BackupRestoreJob job, JobSource jobSource, Optional<Set<String>> allowedLowerSpaceKeys, String filePath, ParallelTasksExecutor parallelTasksExecutor, HibernateMetadataHelper hibernateMetadataHelper, OnObjectsProcessingHandler onObjectsProcessingHandler, Boolean backupAttachments)
void
RestoreService. doRestore(BackupRestoreJob job, BackupRestoreSettings settings, int threadsNumber)
void
SiteRestoreService. doRestoreSynchronously(BackupRestoreJob job, BackupRestoreSettings settings)
Run the restore process synchronously.void
SpaceRestoreService. doRestoreSynchronously(BackupRestoreJob job, BackupRestoreSettings settings)
Run the restore process synchronously.BackupProperties
BackupPropertiesValidator. validatePropertiesAgainstBackupJob(BackupRestoreJob job, BackupProperties backupProperties)
void
RestoreJobValidator. validateSiteRestoreJob(BackupRestoreJob job, BackupRestoreSettings settings)
void
RestoreJobValidator. validateSpaceRestoreJob(BackupRestoreJob job, BackupRestoreSettings settings)
-
Uses of BackupRestoreJob in com.atlassian.confluence.impl.backuprestore.restore.events
Methods in com.atlassian.confluence.impl.backuprestore.restore.events with parameters of type BackupRestoreJob Modifier and Type Method Description void
OnRestoreEventsSender. sendFailureEvent(BackupRestoreJob job, String errorMessage)
void
OnRestoreEventsSender. sendFinishEvents(BackupRestoreJob job, BackupRestoreSettings settings, Collection<String> spaceKeys, Properties properties)
void
OnRestoreEventsSender. sendStartEvents(BackupRestoreJob job, BackupRestoreSettings settings, Collection<String> spaceKeys, Properties properties)
void
OnRestoreEventsSender. sendSuccessfulEvent(BackupRestoreJob job)
-
Uses of BackupRestoreJob in com.atlassian.confluence.impl.backuprestore.restore.idmapping
Methods in com.atlassian.confluence.impl.backuprestore.restore.idmapping with parameters of type BackupRestoreJob Modifier and Type Method Description IdMapper
IdMapperFactory. createIdMapper(BackupRestoreJob job, JobSource jobSource, Collection<ExportableEntityInfo> importableEntitiesInfo, OnObjectsProcessingHandler onObjectsProcessingHandler)
-
Uses of BackupRestoreJob in com.atlassian.confluence.impl.backuprestore.restore.taskrunners
Methods in com.atlassian.confluence.impl.backuprestore.restore.taskrunners with parameters of type BackupRestoreJob Modifier and Type Method Description ImportTaskRunner
ImportTaskRunnerFactory. createImportTaskRunner(BackupRestoreJob job, BackupRestoreSettings settings, HiLoGeneratorInitialiserOnSiteRestore hiLoGeneratorInitialiserOnSiteRestore)
Creates instance ofImportTaskRunner
depending on job scopevoid
PreImportTaskRunner. restoreSiteJobRecord(BackupRestoreJob job, BackupRestoreSettings settings, HiLoGeneratorInitialiserOnSiteRestore hiLoGeneratorInitialiserOnSiteRestore)
During the site restore the whole database drops.void
SiteRestoreJobResurrector. resurrectSiteRestoreJob(BackupRestoreJob job, BackupRestoreSettings settings, HiLoGeneratorInitialiserOnSiteRestore hiLoGeneratorInitialiserOnSiteRestore)
void
ImportTaskRunner. runPostImportTasks(BackupRestoreJob job, BackupRestoreSettings settings, BackupProperties backupProperties)
Run tasks which should be executed after we finish processing entitiesvoid
SiteImportTaskRunner. runPostImportTasks(BackupRestoreJob job, BackupRestoreSettings settings, BackupProperties backupProperties)
void
SpaceImportTaskRunner. runPostImportTasks(BackupRestoreJob job, BackupRestoreSettings settings, BackupProperties backupProperties)
Constructors in com.atlassian.confluence.impl.backuprestore.restore.taskrunners with parameters of type BackupRestoreJob Constructor Description SiteImportTaskRunner(PreImportTaskRunner preImportTaskRunner, PostImportTaskRunner postImportTaskRunner, BackupRestoreJob job, BackupRestoreSettings settings, HiLoGeneratorInitialiserOnSiteRestore hiLoGeneratorInitialiserOnSiteRestore)
-