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 java.lang.Object
implements AuditService

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


Constructor Summary
DefaultAuditService()
           
 
Method Summary
 void auditAction(ScheduledJobKey jobKey, java.lang.String action)
          Audit's a simple action against a job, such as run, enable, disable.
 void auditScheduleChange(ScheduledJobKey jobKey, java.lang.String oldValue, java.lang.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,
                        java.lang.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,
                                java.lang.String oldValue,
                                java.lang.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-2014 Atlassian. All Rights Reserved.