com.puppycrawl.tools.checkstyle.api
Interface MessageDispatcher
- Checker
public interface MessageDispatcher
Used by FileSetChecks to distribute AuditEvents to AuditListeners.
- lkuehne
void | fireErrors(String aFileName, LocalizedMessage[] aErrors) - Notify all listeners about the errors in a file.
|
void | fireFileFinished(String aFileName) - Notify all listeners about the end of a file audit.
|
void | fireFileStarted(String aFileName) - Notify all listeners about the beginning of a file audit.
|
fireErrors
public void fireErrors(String aFileName,
LocalizedMessage[] aErrors)
Notify all listeners about the errors in a file.
aFileName
- the audited fileaErrors
- the audit errors from the file
fireFileFinished
public void fireFileFinished(String aFileName)
Notify all listeners about the end of a file audit.
aFileName
- the audited file
fireFileStarted
public void fireFileStarted(String aFileName)
Notify all listeners about the beginning of a file audit.
aFileName
- the file to be audited