public class SuppressWithNearbyCommentFilter.Tag extends Object implements Comparable<SuppressWithNearbyCommentFilter.Tag>
| Constructor and Description |
|---|
SuppressWithNearbyCommentFilter.Tag(String aText,
int aLine)
Constructs a tag.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(SuppressWithNearbyCommentFilter.Tag aOther)
Compares the position of this tag in the file
with the position of another tag.
|
int |
getFirstLine() |
int |
getLastLine() |
String |
getText() |
boolean |
isMatch(AuditEvent aEvent)
Determines whether the source of an audit event
matches the text of this tag.
|
String |
toString() |
public SuppressWithNearbyCommentFilter.Tag(String aText, int aLine) throws org.apache.commons.beanutils.ConversionException
aText - the text of the suppression.aLine - the line number.org.apache.commons.beanutils.ConversionException - if unable to parse expanded aText.
on.public String getText()
public int getFirstLine()
public int getLastLine()
public int compareTo(SuppressWithNearbyCommentFilter.Tag aOther)
compareTo in interface Comparable<SuppressWithNearbyCommentFilter.Tag>aOther - the tag to compare with this one.Comparable.compareTo(java.lang.Object)public boolean isMatch(AuditEvent aEvent)
aEvent - the AuditEvent to check.Copyright © 2001-2014. All Rights Reserved.