public class SeverityMatchFilter extends AutomaticBean implements Filter
Constructor and Description |
---|
SeverityMatchFilter() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(AuditEvent aEvent)
Determines whether or not a filtered AuditEvent is accepted.
|
void |
setAcceptOnMatch(boolean aAcceptOnMatch)
Sets whether to accept or reject on matching severity level.
|
void |
setSeverity(String aSeverity)
Sets the severity level.
|
configure, contextualize, finishLocalSetup, getConfiguration, setupChild
public final void setSeverity(String aSeverity)
SeverityLevel
class.aSeverity
- The new severity levelSeverityLevel
public final void setAcceptOnMatch(boolean aAcceptOnMatch)
aAcceptOnMatch
- if true, accept on matches; if
false, reject on matches.public boolean accept(AuditEvent aEvent)
Copyright © 2001–2018. All rights reserved.