Class BackupRestoreFinishJobAnalyticsEvent
- java.lang.Object
-
- com.atlassian.confluence.impl.backuprestore.analytics.BackupRestoreFinishJobAnalyticsEvent
-
@AsynchronousPreferred public class BackupRestoreFinishJobAnalyticsEvent extends Object
Used when a backup or restore job finished running.- Since:
- 8.4
-
-
Constructor Summary
Constructors Constructor Description BackupRestoreFinishJobAnalyticsEvent(Long jobId, JobScope jobScope, JobOperation jobOperation, JobState jobState, Long objectsProcessed, Long backupZipSize, Long totalDuration, Boolean attachmentsIncluded)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
getAttachmentsIncluded()
Get if Attachments are included in a backup job (true) or not (false).Long
getBackupZipSize()
Get size of final zip file generated by backup job, null for restore jobsLong
getJobId()
Get id of jobJobOperation
getJobOperation()
Get operation of jobJobScope
getJobScope()
Get scope of jobJobState
getJobState()
Get state of jobLong
getObjectsProcessed()
Get number of objects processed while running jobLong
getTotalDuration()
Get total time taken to complete job
-
-
-
Method Detail
-
getJobId
public Long getJobId()
Get id of job- Returns:
- jobId
-
getJobScope
public JobScope getJobScope()
Get scope of job- Returns:
- jobScope (SITE or SPACE)
-
getJobOperation
public JobOperation getJobOperation()
Get operation of job- Returns:
- jobOperation (BACKUP or RESTORE)
-
getJobState
public JobState getJobState()
Get state of job- Returns:
- jobState (FINISHED, CANCELLED, or FAILED)
-
getObjectsProcessed
public Long getObjectsProcessed()
Get number of objects processed while running job- Returns:
- objectsProcessed
-
getBackupZipSize
public Long getBackupZipSize()
Get size of final zip file generated by backup job, null for restore jobs- Returns:
- dataProcessed
-
getTotalDuration
public Long getTotalDuration()
Get total time taken to complete job- Returns:
- dataProcessed
-
getAttachmentsIncluded
public Boolean getAttachmentsIncluded()
Get if Attachments are included in a backup job (true) or not (false). null for restore jobs- Returns:
- dataProcessed
-
-