|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.puppycrawl.tools.checkstyle.api.AutomaticBean
com.puppycrawl.tools.checkstyle.filters.SuppressionFilter
public class SuppressionFilter
This filter accepts AuditEvents according to file, check, line, and column, as specified in a suppression file.
| Constructor Summary | |
|---|---|
SuppressionFilter()
|
|
| Method Summary | |
|---|---|
boolean |
accept(AuditEvent aEvent)
Determines whether or not a filtered AuditEvent is accepted. |
boolean |
equals(Object aObject)
|
int |
hashCode()
|
void |
setFile(String aFileName)
Loads the suppressions for a file. |
String |
toString()
|
| Methods inherited from class com.puppycrawl.tools.checkstyle.api.AutomaticBean |
|---|
configure, contextualize, finishLocalSetup, getConfiguration, setupChild |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SuppressionFilter()
| Method Detail |
|---|
public void setFile(String aFileName)
throws CheckstyleException
aFileName - name of the suppressions file.
CheckstyleException - if there is an error.public boolean accept(AuditEvent aEvent)
accept in interface FilteraEvent - the AudtiEvent to filter.
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object aObject)
equals in class Object
|
Back to the Checkstyle Home Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||