Class DefaultAuditService

java.lang.Object
com.atlassian.confluence.schedule.audit.DefaultAuditService
All Implemented Interfaces:
AuditService

public class DefaultAuditService extends Object implements AuditService
Default implementation logs to a logger AuditService.
  • Field Details

    • SCHEDULED_JOB_SCHEDULE

      public static final String SCHEDULED_JOB_SCHEDULE
    • SCHEDULED_JOB_INTERVAL

      public static final String SCHEDULED_JOB_INTERVAL
  • Constructor Details

  • Method Details

    • auditAction

      public void auditAction(com.atlassian.scheduler.config.JobId jobId, AuditingAction action)
      Description copied from interface: AuditService
      Audits an action to a job such as run, enable, disable.
      Specified by:
      auditAction in interface AuditService
      Parameters:
      jobId - the job ID
      action - the action such as run, enable, disable
    • auditCronJobScheduleChange

      public void auditCronJobScheduleChange(com.atlassian.scheduler.config.JobId jobId, String oldValue, String newValue)
      Description copied from interface: AuditService
      Audits a schedule change to a cron job.
      Specified by:
      auditCronJobScheduleChange in interface AuditService
      Parameters:
      jobId - the job ID
      oldValue - the old cron
      newValue - the new cron
    • auditSimpleJobScheduleChange

      public void auditSimpleJobScheduleChange(com.atlassian.scheduler.config.JobId jobId, Long oldValue, Long newValue)
      Description copied from interface: AuditService
      Audits a schedule change to a simple job.
      Specified by:
      auditSimpleJobScheduleChange in interface AuditService
      Parameters:
      jobId - the job ID
      oldValue - the old repeat interval
      newValue - the new repeat interval