public class SuppressElement extends Object implements Filter
AuditEvent
objects based on the criteria of file, check, module id, line, and
column. It rejects an AuditEvent if the following match:
| Constructor and Description |
|---|
SuppressElement(String files,
String checks,
String message,
String modId,
String lines,
String columns)
Constructs a
SuppressElement for a
file name pattern. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(AuditEvent event)
Determines whether or not a filtered AuditEvent is accepted.
|
boolean |
equals(Object other) |
int |
hashCode() |
public SuppressElement(String files, String checks, String message, String modId, String lines, String columns)
SuppressElement for a
file name pattern.files - regular expression for names of filtered files.checks - regular expression for filtered check classes.message - regular expression for messages.modId - the idlines - lines CSV values and ranges for line number filtering.columns - columns CSV values and ranges for column number filtering.public boolean accept(AuditEvent event)
FilterCopyright © 2001–2018. All rights reserved.