com.puppycrawl.tools.checkstyle.api

Interface MessageDispatcher

public interface MessageDispatcher

Used by FileSetChecks to distribute AuditEvents to AuditListeners.

Author: lkuehne

Method Summary
voidfireErrors(String aFileName, LocalizedMessage[] aErrors)
Notify all listeners about the errors in a file.
voidfireFileFinished(String aFileName)
Notify all listeners about the end of a file audit.
voidfireFileStarted(String aFileName)
Notify all listeners about the beginning of a file audit.

Method Detail

fireErrors

public void fireErrors(String aFileName, LocalizedMessage[] aErrors)
Notify all listeners about the errors in a file.

Parameters: aFileName the audited file aErrors the audit errors from the file

fireFileFinished

public void fireFileFinished(String aFileName)
Notify all listeners about the end of a file audit.

Parameters: aFileName the audited file

fireFileStarted

public void fireFileStarted(String aFileName)
Notify all listeners about the beginning of a file audit.

Parameters: aFileName the file to be audited