Class BackupRestoreAddJobAnalyticsEvent


  • @AsynchronousPreferred
    public class BackupRestoreAddJobAnalyticsEvent
    extends Object
    Used when a backup or restore job is added to the queue.
    Since:
    8.4
    • Constructor Detail

      • BackupRestoreAddJobAnalyticsEvent

        public BackupRestoreAddJobAnalyticsEvent​(Long jobId,
                                                 JobScope jobScope,
                                                 JobOperation jobOperation,
                                                 Boolean fileWasUploaded)
    • 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)
      • getFileWasUploaded

        public final Boolean getFileWasUploaded()
        Get if backup file was uploaded (true) or selected from restore folder (false) for a restore job, Null if a backup job
        Returns:
        fileWasUploaded: true or false for Restore, null for backup