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)
Deprecated.
since 7.18. To be removed in 8.0. Use
AuditService.auditCronJobScheduleChange(JobId, String, String) } |
void |
auditSimpleJobScheduleChange(ScheduledJobKey jobKey,
Long oldValue,
Long newValue)
Deprecated.
since 7.18. To be removed in 8.0. Use
AuditService.auditCronJobScheduleChange(JobId, String, String) } |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
auditAction, auditCronJobScheduleChange, auditSimpleJobScheduleChange
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)
AuditService
auditAction
in interface AuditService
jobKey
- the job keyaction
- the action such as run, enable, disable@Deprecated public void auditCronJobScheduleChange(ScheduledJobKey jobKey, String oldValue, String newValue)
AuditService.auditCronJobScheduleChange(JobId, String, String)
}AuditService
auditCronJobScheduleChange
in interface AuditService
jobKey
- the job keyoldValue
- the old cronnewValue
- the new cron@Deprecated public void auditSimpleJobScheduleChange(ScheduledJobKey jobKey, Long oldValue, Long newValue)
AuditService.auditCronJobScheduleChange(JobId, String, String)
}AuditService
auditSimpleJobScheduleChange
in interface AuditService
jobKey
- the job keyoldValue
- the old repeat intervalnewValue
- the new repeat intervalCopyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences