com.atlassian.confluence.schedule.audit
Class DefaultAuditService

java.lang.Object
  extended by com.atlassian.confluence.schedule.audit.DefaultAuditService
All Implemented Interfaces:
AuditService

public class DefaultAuditService
extends Object
implements AuditService

Default implementation logs to a logger com.atlassian.confluence.schedule.audit.AuditService


Constructor Summary
DefaultAuditService()
           
 
Method Summary
 void auditAction(ScheduledJobKey jobKey, String action)
          Audit's a simple action against a job, such as run, enable, disable.
 void auditScheduleChange(ScheduledJobKey jobKey, String oldValue, String newValue)
          Audits a schedule change to a job.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAuditService

public DefaultAuditService()
Method Detail

auditAction

public void auditAction(ScheduledJobKey jobKey,
                        String action)
Description copied from interface: AuditService
Audit's a simple action against a job, such as run, enable, disable.

Specified by:
auditAction in interface AuditService
Parameters:
jobKey - the job key
action - the action (e.g., run, enable, disable

auditScheduleChange

public void auditScheduleChange(ScheduledJobKey jobKey,
                                String oldValue,
                                String newValue)
Description copied from interface: AuditService
Audits a schedule change to a job.

Specified by:
auditScheduleChange in interface AuditService
Parameters:
jobKey - the job key
oldValue - the original value
newValue - the new value


Copyright © 2003-2012 Atlassian. All Rights Reserved.