ch.qos.logback.core.joran.spi
Interface RuleStore

All Known Implementing Classes:
SimpleRuleStore

public interface RuleStore

As its name indicates, a RuleStore contains 2-tuples consists of a Pattern and an Action.

As a joran configurator goes through the elements in a document, it asks the rule store whether there are rules matching the current pattern by invoking the matchActions(Pattern) method.

Author:
Ceki Gülcü

Method Summary
 void addRule(Pattern pattern, Action action)
           
 void addRule(Pattern pattern, java.lang.String actionClassStr)
           
 java.util.List matchActions(Pattern currentPatern)
           
 

Method Detail

addRule

void addRule(Pattern pattern,
             java.lang.String actionClassStr)
             throws java.lang.ClassNotFoundException
Throws:
java.lang.ClassNotFoundException

addRule

void addRule(Pattern pattern,
             Action action)

matchActions

java.util.List matchActions(Pattern currentPatern)


Copyright © 2005-2010 QOS.ch. All Rights Reserved.