net.sf.logdistiller
Class LogDistiller.Group

java.lang.Object
  extended by net.sf.logdistiller.LogDistiller.Group
All Implemented Interfaces:
Serializable
Enclosing class:
LogDistiller

public static class LogDistiller.Group
extends Object
implements Serializable

Definition of a group of events: events corresponding to its conditions will be collected in it.

See Also:
Serialized Form

Constructor Summary
LogDistiller.Group(String id, String description, boolean continueProcessing, boolean save, Map params, Condition[] conditions, LogDistiller.Report[] reports, LogDistiller.Plugin[] plugins, LogDistiller.Category category)
           
 
Method Summary
 Condition accept(LogEvent le)
          Check if given LogEvent meet one of the conditions defined.
 boolean continueProcessing()
           
 org.jdom.Element dumpConditions(org.jdom.Element parent)
           
 LogDistiller.Category getCategory()
           
 String getDescription()
           
 String getId()
           
 LogDistiller getLogdistiller()
           
 String getParam(String name)
           
 String getParam(String name, String defaultValue)
           
 Map getParams()
           
 LogDistiller.Plugin[] getPlugins()
           
 LogDistiller.Report[] getReports()
           
 boolean getSave()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogDistiller.Group

public LogDistiller.Group(String id,
                          String description,
                          boolean continueProcessing,
                          boolean save,
                          Map params,
                          Condition[] conditions,
                          LogDistiller.Report[] reports,
                          LogDistiller.Plugin[] plugins,
                          LogDistiller.Category category)
Method Detail

getLogdistiller

public LogDistiller getLogdistiller()

getParams

public Map getParams()

getParam

public String getParam(String name)

getParam

public String getParam(String name,
                       String defaultValue)

accept

public Condition accept(LogEvent le)
Check if given LogEvent meet one of the conditions defined.

Parameters:
le - LogEvent the LogEvent to check
Returns:
Condition the condition which matched the log event, or null

getId

public String getId()

dumpConditions

public org.jdom.Element dumpConditions(org.jdom.Element parent)

getDescription

public String getDescription()

continueProcessing

public boolean continueProcessing()
Returns:
boolean in case a LogEvent is added to the current group, must classification be continued further to match other groups?

getSave

public boolean getSave()

getCategory

public LogDistiller.Category getCategory()

getReports

public LogDistiller.Report[] getReports()

getPlugins

public LogDistiller.Plugin[] getPlugins()


Copyright © 2004-2009. All Rights Reserved.