Package ch.qos.logback.core.joran.action

Examples of ch.qos.logback.core.joran.action.PropertyAction


  @Override
  protected void addInstanceRules(RuleStore rs) {
  
    rs.addRule(new Pattern("configuration/property"),
        new PropertyAction());
   
    rs.addRule(new Pattern("configuration/substitutionProperty"),
        new PropertyAction());
   
    // the contextProperty pattern is deprecated. It is undocumented
    // and will be dropped in future versions of logback
    rs.addRule(new Pattern("configuration/contextProperty"),
        new ContextPropertyAction());
View Full Code Here


  }

  @Override
  protected void addInstanceRules(RuleStore rs) {

    rs.addRule(new Pattern("configuration/variable"), new PropertyAction());
    rs.addRule(new Pattern("configuration/property"), new PropertyAction());

    rs.addRule(new Pattern("configuration/substitutionProperty"),
        new PropertyAction());

    rs.addRule(new Pattern("configuration/timestamp"), new TimestampAction());

    rs.addRule(new Pattern("configuration/define"), new DefinePropertyAction());
View Full Code Here

  @Override
  protected void addInstanceRules(RuleStore rs) {

    // is "configuration/variable" referenced in the docs?
    rs.addRule(new Pattern("configuration/variable"), new PropertyAction());
    rs.addRule(new Pattern("configuration/property"), new PropertyAction());

    rs.addRule(new Pattern("configuration/substitutionProperty"),
        new PropertyAction());

    rs.addRule(new Pattern("configuration/timestamp"), new TimestampAction());

    rs.addRule(new Pattern("configuration/define"), new DefinePropertyAction());
View Full Code Here

  @Override
  protected void addInstanceRules(RuleStore rs) {

    // is "configuration/variable" referenced in the docs?
    rs.addRule(new ElementSelector("configuration/variable"), new PropertyAction());
    rs.addRule(new ElementSelector("configuration/property"), new PropertyAction());

    rs.addRule(new ElementSelector("configuration/substitutionProperty"),
        new PropertyAction());

    rs.addRule(new ElementSelector("configuration/timestamp"), new TimestampAction());
    rs.addRule(new ElementSelector("configuration/shutdownHook"), new ShutdownHookAction());
    rs.addRule(new ElementSelector("configuration/define"), new DefinePropertyAction());
View Full Code Here

  @Before
  public void setUp() throws Exception {
    HashMap<ElementSelector, Action> rulesMap = new HashMap<ElementSelector, Action>();
    rulesMap.put(new ElementSelector("x"), new NOPAction());
    rulesMap.put(new ElementSelector("x/stack"), stackAction);
    rulesMap.put(new ElementSelector("x/property"), new PropertyAction());
    rulesMap.put(new ElementSelector("*/if"), new IfAction());
    rulesMap.put(new ElementSelector("*/if/then"), new ThenAction());
    rulesMap.put(new ElementSelector("*/if/then/*"), new NOPAction());
    rulesMap.put(new ElementSelector("*/if/else"), new ElseAction());
    rulesMap.put(new ElementSelector("*/if/else/*"), new NOPAction());
View Full Code Here

  @Override
  protected void addInstanceRules(RuleStore rs) {
  
    rs.addRule(new Pattern("configuration/property"),
        new PropertyAction());
   
    rs.addRule(new Pattern("configuration/substitutionProperty"),
        new PropertyAction());
   
    rs.addRule(new Pattern("configuration/timestamp"),
        new TimestampAction());
   
    // the contextProperty pattern is deprecated. It is undocumented
View Full Code Here

  @Override
  protected void addInstanceRules(RuleStore rs) {
  
    rs.addRule(new Pattern("configuration/property"),
        new PropertyAction());
   
    rs.addRule(new Pattern("configuration/substitutionProperty"),
        new PropertyAction());
   
    // the contextProperty pattern is deprecated. It is undocumented
    // and will be dropped in future versions of logback
    rs.addRule(new Pattern("configuration/contextProperty"),
        new ContextPropertyAction());
View Full Code Here

  @Override
  protected void addInstanceRules(RuleStore rs) {

    // is "configuration/variable" referenced in the docs?
    rs.addRule(new ElementSelector("configuration/variable"), new PropertyAction());
    rs.addRule(new ElementSelector("configuration/property"), new PropertyAction());

    rs.addRule(new ElementSelector("configuration/substitutionProperty"),
        new PropertyAction());

    rs.addRule(new ElementSelector("configuration/timestamp"), new TimestampAction());

    rs.addRule(new ElementSelector("configuration/define"), new DefinePropertyAction());
View Full Code Here

  }

  @Override
  protected void addInstanceRules(RuleStore rs) {

    rs.addRule(new Pattern("configuration/property"), new PropertyAction());

    rs.addRule(new Pattern("configuration/substitutionProperty"),
        new PropertyAction());

    rs.addRule(new Pattern("configuration/timestamp"), new TimestampAction());

    rs.addRule(new Pattern("configuration/define"), new DefinePropertyAction());
View Full Code Here

  @Override
  protected void addInstanceRules(RuleStore rs) {
  
    rs.addRule(new Pattern("configuration/property"),
        new PropertyAction());
   
    rs.addRule(new Pattern("configuration/substitutionProperty"),
        new PropertyAction());
   
    rs.addRule(new Pattern("configuration/timestamp"),
        new TimestampAction());
   
    // the contextProperty pattern is deprecated. It is undocumented
View Full Code Here

TOP

Related Classes of ch.qos.logback.core.joran.action.PropertyAction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.