org.jwall.web.audit.filter
Class AuditEventFilter

java.lang.Object
  extended by org.jwall.web.audit.filter.AuditEventFilter
All Implemented Interfaces:
Serializable, FilterExpression
Direct Known Subclasses:
Conditions

public class AuditEventFilter
extends Object
implements Serializable, FilterExpression

See Also:
Serialized Form

Constructor Summary
AuditEventFilter()
           
 
Method Summary
 void add(AuditEventMatch match)
           
 void add(Match m)
           
 AuditEventFilter fromXML(String input)
           
 List<AuditEventMatch> getMatches()
           
static com.thoughtworks.xstream.XStream getXStream()
           
static com.thoughtworks.xstream.XStream getXStream(ClassLoader loader)
           
 boolean hasMatchOn(String variable)
           
 boolean isEnabled()
           
 boolean matches(AuditEvent evt)
          Matches the expression against the given event.
 void remove(AuditEventMatch match)
           
 boolean remove(int i)
           
 void removeMatch(String variable)
           
 void setEnabled(boolean b)
           
 String toXML()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuditEventFilter

public AuditEventFilter()
Method Detail

getMatches

public List<AuditEventMatch> getMatches()

add

public void add(Match m)

add

public void add(AuditEventMatch match)

remove

public void remove(AuditEventMatch match)

remove

public boolean remove(int i)

removeMatch

public void removeMatch(String variable)

hasMatchOn

public boolean hasMatchOn(String variable)

toXML

public String toXML()

fromXML

public AuditEventFilter fromXML(String input)

getXStream

public static com.thoughtworks.xstream.XStream getXStream(ClassLoader loader)

getXStream

public static com.thoughtworks.xstream.XStream getXStream()

matches

public boolean matches(AuditEvent evt)
Description copied from interface: FilterExpression
Matches the expression against the given event.

Specified by:
matches in interface FilterExpression
Returns:

isEnabled

public boolean isEnabled()

setEnabled

public void setEnabled(boolean b)


Copyright © 2012 jwall.org. All Rights Reserved.