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