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