public class DefaultAuditService extends Object implements AuditService
AuditService.| Modifier and Type | Field and Description |
|---|---|
static String |
SCHEDULED_JOB_INTERVAL |
static String |
SCHEDULED_JOB_SCHEDULE |
| Constructor and Description |
|---|
DefaultAuditService(com.atlassian.audit.api.AuditService auditService,
AuditHelper auditHelper,
StandardAuditResourceTypes resourceTypes) |
| Modifier and Type | Method and Description |
|---|---|
void |
auditAction(ScheduledJobKey jobKey,
AuditingAction 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 static final String SCHEDULED_JOB_SCHEDULE
public static final String SCHEDULED_JOB_INTERVAL
public DefaultAuditService(com.atlassian.audit.api.AuditService auditService,
AuditHelper auditHelper,
StandardAuditResourceTypes resourceTypes)
public void auditAction(ScheduledJobKey jobKey, AuditingAction action)
AuditServiceauditAction in interface AuditServicejobKey - the job keyaction - the action such as run, enable, disablepublic void auditCronJobScheduleChange(ScheduledJobKey jobKey, String oldValue, String newValue)
AuditServiceauditCronJobScheduleChange in interface AuditServicejobKey - the job keyoldValue - the old cronnewValue - the new cronpublic void auditSimpleJobScheduleChange(ScheduledJobKey jobKey, Long oldValue, Long newValue)
AuditServiceauditSimpleJobScheduleChange in interface AuditServicejobKey - the job keyoldValue - the old repeat intervalnewValue - the new repeat intervalCopyright © 2003–2020 Atlassian. All rights reserved.