net.sf.logdistiller
Class Match

java.lang.Object
  extended by net.sf.logdistiller.Match
All Implemented Interfaces:
Serializable

public class Match
extends Object
implements Serializable

Match of an attribute of a LogEvent. Match type can be either contains, equals, startsWith, endsWith or regexp, and can be negated by preceding type with !.

See Also:
Serialized Form

Nested Class Summary
protected static class Match.Contains
           
protected static class Match.EndsWith
           
protected static class Match.Equals
           
protected static class Match.Regexp
           
protected static class Match.StartsWith
           
 
Constructor Summary
Match(String attribute, String type, String reference)
           
 
Method Summary
 org.jdom.Element dump()
           
 boolean match(LogEvent le)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Match

public Match(String attribute,
             String type,
             String reference)
Method Detail

match

public boolean match(LogEvent le)

dump

public org.jdom.Element dump()


Copyright © 2004-2009. All Rights Reserved.