public class DefaultAuditService extends Object implements AuditService
AuditService
.Constructor and Description |
---|
DefaultAuditService() |
Modifier and Type | Method and Description |
---|---|
void |
auditAction(ScheduledJobKey jobKey,
String action)
Audits an action to a job such as run, enable, disable.
|
void |
auditCronJobScheduleChange(ScheduledJobKey jobKey,
String oldValue,
String newValue)
Audits a schedule change to a cron job.
|
void |
auditSimpleJobScheduleChange(ScheduledJobKey jobKey,
Long oldValue,
Long newValue)
Audits a schedule change to a simple job.
|
public void auditAction(ScheduledJobKey jobKey, String action)
AuditService
auditAction
in interface AuditService
jobKey
- the job keyaction
- the action such as run, enable, disablepublic void auditCronJobScheduleChange(ScheduledJobKey jobKey, String oldValue, String newValue)
AuditService
auditCronJobScheduleChange
in interface AuditService
jobKey
- the job keyoldValue
- the old cronnewValue
- the new cronpublic void auditSimpleJobScheduleChange(ScheduledJobKey jobKey, Long oldValue, Long newValue)
AuditService
auditSimpleJobScheduleChange
in interface AuditService
jobKey
- the job keyoldValue
- the old repeat intervalnewValue
- the new repeat intervalCopyright © 2003–2019 Atlassian. All rights reserved.