Interface AuditService
- All Known Implementing Classes:
DefaultAuditService
public interface AuditService
An interface for Scheduled Job Auditing.
-
Method Summary
Modifier and TypeMethodDescriptionvoidauditAction(com.atlassian.scheduler.config.JobId jobId, AuditingAction action) Audits an action to a job such as run, enable, disable.voidauditCronJobScheduleChange(com.atlassian.scheduler.config.JobId jobId, String oldValue, String newValue) Audits a schedule change to a cron job.voidauditSimpleJobScheduleChange(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
-