public interface AuditListener extends EventListener
auditStarted (fileStarted (addError)* fileFinished )* auditFinished
Modifier and Type | Method and Description |
---|---|
void |
addError(AuditEvent event)
Notify that an audit error was discovered on a specific file.
|
void |
addException(AuditEvent event,
Throwable throwable)
Notify that an exception happened while performing audit.
|
void |
auditFinished(AuditEvent event)
Notify that the audit is finished.
|
void |
auditStarted(AuditEvent event)
Notify that the audit is about to start.
|
void |
fileFinished(AuditEvent event)
Notify that audit is finished on a specific file.
|
void |
fileStarted(AuditEvent event)
Notify that audit is about to start on a specific file.
|
void auditStarted(AuditEvent event)
event
- the event detailsvoid auditFinished(AuditEvent event)
event
- the event detailsvoid fileStarted(AuditEvent event)
event
- the event detailsvoid fileFinished(AuditEvent event)
event
- the event detailsvoid addError(AuditEvent event)
event
- the event detailsvoid addException(AuditEvent event, Throwable throwable)
event
- the event detailsthrowable
- details of the exceptionCopyright © 2001–2018. All rights reserved.