Package ch.qos.logback.core.joran.action
Class ActionUtil
- java.lang.Object
-
- ch.qos.logback.core.joran.action.ActionUtil
-
public class ActionUtil extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ActionUtil.Scope
-
Constructor Summary
Constructors Constructor Description ActionUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
setProperties(InterpretationContext ic, java.util.Properties props, ActionUtil.Scope scope)
Add all the properties found in the argument named 'props' to an InterpretationContext.static void
setProperty(InterpretationContext ic, java.lang.String key, java.lang.String value, ActionUtil.Scope scope)
static ActionUtil.Scope
stringToScope(java.lang.String scopeStr)
Convert a string into a scope.
-
-
-
Method Detail
-
stringToScope
public static ActionUtil.Scope stringToScope(java.lang.String scopeStr)
Convert a string into a scope. Scole.LOCAL is returned by default.- Parameters:
scopeStr
-- Returns:
- a scope corresponding to the input string; Scope.LOCAL by default.
-
setProperty
public static void setProperty(InterpretationContext ic, java.lang.String key, java.lang.String value, ActionUtil.Scope scope)
-
setProperties
public static void setProperties(InterpretationContext ic, java.util.Properties props, ActionUtil.Scope scope)
Add all the properties found in the argument named 'props' to an InterpretationContext.
-
-