Interface AuditService
- All Known Implementing Classes:
DefaultAuditService
public interface AuditService
An interface for Scheduled Job Auditing.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
auditAction
(com.atlassian.scheduler.config.JobId jobId, AuditingAction action) Audits an action to a job such as run, enable, disable.void
auditCronJobScheduleChange
(com.atlassian.scheduler.config.JobId jobId, String oldValue, String newValue) Audits a schedule change to a cron job.void
auditSimpleJobScheduleChange
(com.atlassian.scheduler.config.JobId jobId, Long oldValue, Long newValue) Audits a schedule change to a simple job.
-
Method Details
-
auditAction
Audits an action to a job such as run, enable, disable.- Parameters:
jobId
- the job IDaction
- the action such as run, enable, disable
-
auditCronJobScheduleChange
void auditCronJobScheduleChange(com.atlassian.scheduler.config.JobId jobId, String oldValue, String newValue) Audits a schedule change to a cron job.- Parameters:
jobId
- the job IDoldValue
- the old cronnewValue
- the new cron
-
auditSimpleJobScheduleChange
void auditSimpleJobScheduleChange(com.atlassian.scheduler.config.JobId jobId, Long oldValue, Long newValue) Audits a schedule change to a simple job.- Parameters:
jobId
- the job IDoldValue
- the old repeat intervalnewValue
- the new repeat interval
-