public class PropertyAction extends Action
ACTION_CLASS_ATTRIBUTE, CLASS_ATTRIBUTE, FILE_ATTRIBUTE, KEY_ATTRIBUTE, NAME_ATTRIBUTE, PATTERN_ATTRIBUTE, SCOPE_ATTRIBUTE, VALUE_ATTRIBUTE
context
Constructor and Description |
---|
PropertyAction() |
Modifier and Type | Method and Description |
---|---|
void |
begin(InterpretationContext ec,
java.lang.String localName,
org.xml.sax.Attributes attributes)
Set a new property for the execution context by name, value pair, or adds
all the properties found in the given file.
|
void |
end(InterpretationContext ec,
java.lang.String name) |
void |
finish(InterpretationContext ec) |
void |
setProperties(InterpretationContext ec,
java.util.Properties props,
ch.qos.logback.core.joran.action.PropertyAction.Scope scope)
Add all the properties found in the argument named 'props' to an
InterpretationContext.
|
void |
setProperty(InterpretationContext ec,
java.lang.String key,
java.lang.String value,
ch.qos.logback.core.joran.action.PropertyAction.Scope scope) |
body, getColumnNumber, getLineColStr, getLineNumber, toString
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
public void setProperties(InterpretationContext ec, java.util.Properties props, ch.qos.logback.core.joran.action.PropertyAction.Scope scope)
public void setProperty(InterpretationContext ec, java.lang.String key, java.lang.String value, ch.qos.logback.core.joran.action.PropertyAction.Scope scope)
public void begin(InterpretationContext ec, java.lang.String localName, org.xml.sax.Attributes attributes)
public void end(InterpretationContext ec, java.lang.String name)
public void finish(InterpretationContext ec)