Class BackupRestoreFinishJobAnalyticsEvent


  • @AsynchronousPreferred
    public class BackupRestoreFinishJobAnalyticsEvent
    extends Object
    Used when a backup or restore job finished running.
    Since:
    8.4
    • Constructor Detail

      • BackupRestoreFinishJobAnalyticsEvent

        public BackupRestoreFinishJobAnalyticsEvent​(Long jobId,
                                                    JobScope jobScope,
                                                    JobOperation jobOperation,
                                                    JobState jobState,
                                                    Long objectsProcessed,
                                                    Long backupZipSize,
                                                    Long totalDuration,
                                                    Boolean attachmentsIncluded)
    • 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