Interface AuditService
-
- All Known Implementing Classes:
DefaultAuditService
public interface AuditServiceAn interface for Scheduled Job Auditing.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidauditAction(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 Detail
-
auditAction
void auditAction(com.atlassian.scheduler.config.JobId jobId, AuditingAction action)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
-
-