public class SuppressionFilter extends AutomaticBean implements Filter
This filter accepts AuditEvents according to file, check, line, and column, as specified in a suppression file.
Constructor and Description |
---|
SuppressionFilter() |
Modifier and Type | Method and Description |
---|---|
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() |
configure, contextualize, finishLocalSetup, getConfiguration, setupChild
public void setFile(String aFileName) throws CheckstyleException
aFileName
- name of the suppressions file.CheckstyleException
- if there is an error.public boolean accept(AuditEvent aEvent)
Copyright © 2001-2012. All Rights Reserved.