class RuleViolationFilter extends java.lang.Object
A rule violation filter uses a collection of RuleViolationMatcher instances to filter
rule violations. If any of a filter's matchers matches a violation, the entire filter matches the
violation, which means it should be filtered out.
| Type | Name and description |
|---|---|
void |
addMatcher(RuleViolationMatcher pMatcher)Add a rule violation matcher to this filter. |
boolean |
matches(java.lang.String pRuleName, java.lang.String pFileName, int pLineNumber) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Add a rule violation matcher to this filter.
pMatcher - The matcher to add.