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 BooleangetAttachmentsIncluded()Get if Attachments are included in a backup job (true) or not (false).LonggetBackupZipSize()Get size of final zip file generated by backup job, null for restore jobsLonggetJobId()Get id of jobJobOperationgetJobOperation()Get operation of jobJobScopegetJobScope()Get scope of jobJobStategetJobState()Get state of jobLonggetObjectsProcessed()Get number of objects processed while running jobLonggetTotalDuration()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
 
 
 - 
 
 -