Class ModelInterpretationContext
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.model.processor.ModelInterpretationContext
- All Implemented Interfaces:
ContextAware,PropertyContainer
-
Field Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidAdd an import to the importMaovoidvoidaddSubstitutionProperty(String key, String value) Add a property to the properties of this execution context.voidgetDependeeNamesForModel(Model model) Given a stem, get the fully qualified name of the class corresponding to the stem.getObject(int i) getProperty(String key) If a key is found in propertiesMap then return it.booleanhasDependers(String dependeeName) booleanbooleanisNamedDependeeStarted(String name) booleanvoidpopModel()voidvoidpushObject(Object o) Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Field Details
-
propertiesMap
-
importMap
-
-
Constructor Details
-
ModelInterpretationContext
-
ModelInterpretationContext
-
-
Method Details
-
getObjectMap
-
createAppenderBags
-
pushModel
-
peekModel
-
isModelStackEmpty
-
popModel
-
getObjectStack
-
isObjectStackEmpty
-
peekObject
-
pushObject
-
popObject
-
getObject
-
getBeanDescriptionCache
-
subst
-
addSubstitutionProperty
Add a property to the properties of this execution context. If the property exists already, it is overwritten. -
addSubstitutionProperties
-
getDefaultNestedComponentRegistry
-
addDependencyDefinition
-
getDependencyDefinitions
-
getDependeeNamesForModel
-
hasDependers
-
markStartOfNamedDependee
-
isNamedDependeeStarted
-
getProperty
If a key is found in propertiesMap then return it. Otherwise, delegate to the context.- Specified by:
getPropertyin interfacePropertyContainer
-
getCopyOfPropertyMap
- Specified by:
getCopyOfPropertyMapin interfacePropertyContainer
-
addImport
Add an import to the importMao- Parameters:
stem- the class to importfqcn- the fully qualified name of the class- Since:
- 1.3
-
getImportMapCopy
-
getImport
Given a stem, get the fully qualified name of the class corresponding to the stem. For unknown stems, returns the stem as is. If stem is null, null is returned.- Parameters:
stem- may be null- Returns:
- fully qualified name of the class corresponding to the stem. For unknown stems, returns the stem as is. If stem is null, null is returned.
- Since:
- 1.3
-