com.puppycrawl.tools.checkstyle.filters
public class SuppressionFilter extends AutomaticBean implements Filter
This filter accepts AuditEvents according to file, check, line, and column, as specified in a suppression file.
Method Summary | |
---|---|
boolean | accept(AuditEvent aEvent) {@inheritDoc} |
boolean | equals(Object aObject) {@inheritDoc} |
int | hashCode() {@inheritDoc} |
void | setFile(String aFileName)
Loads the suppressions for a file. |
String | toString() {@inheritDoc} |
Parameters: aFileName name of the suppressions file.
Throws: CheckstyleException if there is an error.