Interface AuditService
-
- All Known Implementing Classes:
DefaultAuditService
public interface AuditService
An interface for Scheduled Job Auditing.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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 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
-
-