-
- All Superinterfaces:
ContextAware,PropertyContainer
- All Known Implementing Classes:
ModelInterpretationContext,TylerConfiguratorBase,VariableSubstitutionsHelper
public interface ContextAwarePropertyContainer extends PropertyContainer, ContextAware
An interface extending bothPropertyContainerandContextAware- Since:
- 1.5.1
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default Supplier<? extends GenericXMLConfigurator>getConfiguratorSupplier()Returns a supplier ofGenericXMLConfiguratorinstance.Stringsubst(String input)This method is used tp perform variable substitution.-
Methods inherited from interface ch.qos.logback.core.spi.ContextAware
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
-
Methods inherited from interface ch.qos.logback.core.spi.PropertyContainer
addSubstitutionProperties, addSubstitutionProperty, getCopyOfPropertyMap, getProperty
-
-
-
-
Method Detail
-
subst
String subst(String input)
This method is used tp perform variable substitution.- Parameters:
input-- Returns:
- a new string after variable substitution, if any.
-
getConfiguratorSupplier
default Supplier<? extends GenericXMLConfigurator> getConfiguratorSupplier()
Returns a supplier ofGenericXMLConfiguratorinstance. The returned value may be null.This method could/should have been part of a new interface. It is added here for reasons of commodity and not coherence.
- Returns:
- a supplier of
GenericXMLConfiguratorinstance, may be null - Since:
- 1.5.11
-
-