net.sf.logdistiller
Class Condition
java.lang.Object
net.sf.logdistiller.Condition
- All Implemented Interfaces:
- Serializable
public class Condition
- extends Object
- implements Serializable
One condition for a LogEvent to be selected in a group. It consists of matches on attributes of the LogEvent.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ACCEPT_ALL
public static final Condition ACCEPT_ALL
Condition
public Condition(String tags,
Match[] matches)
match
public boolean match(LogEvent le)
hasTag
public boolean hasTag(String tag)
- Parameters:
tag
- tag value looked for
- Returns:
true
if this condition was flagged with corresponding tag- Since:
- 1.1
dump
public org.jdom.Element dump()
Copyright © 2004-2009. All Rights Reserved.