Logback API
Version 0.9.8

ch.qos.logback.core.joran.action
Class SubstitutionPropertyAction

java.lang.Object
  extended by ch.qos.logback.core.spi.ContextAwareBase
      extended by ch.qos.logback.core.joran.action.Action
          extended by ch.qos.logback.core.joran.action.PropertyAction
              extended by ch.qos.logback.core.joran.action.SubstitutionPropertyAction
All Implemented Interfaces:
ContextAware

public class SubstitutionPropertyAction
extends PropertyAction

This action sets new substitution properties for the execution context by name, value pair, or adds all the properties passed in the Properties argument.

Author:
Ceki Gülcü

Field Summary
 
Fields inherited from class ch.qos.logback.core.joran.action.Action
ACTION_CLASS_ATTRIBUTE, CLASS_ATTRIBUTE, FILE_ATTRIBUTE, NAME_ATTRIBUTE, PATTERN_ATTRIBUTE, VALUE_ATTRIBUTE
 
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
 
Constructor Summary
SubstitutionPropertyAction()
           
 
Method Summary
 void setProperties(InterpretationContext ec, Properties props)
           
 void setProperty(InterpretationContext ec, String key, String value)
           
 
Methods inherited from class ch.qos.logback.core.joran.action.PropertyAction
begin, end, finish
 
Methods inherited from class ch.qos.logback.core.joran.action.Action
body, getColumnNumber, getLineNumber, toString
 
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubstitutionPropertyAction

public SubstitutionPropertyAction()
Method Detail

setProperties

public void setProperties(InterpretationContext ec,
                          Properties props)

setProperty

public void setProperty(InterpretationContext ec,
                        String key,
                        String value)

Logback API
Version 0.9.8

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