public class HierarchicalBuilderParametersImpl extends FileBasedBuilderParametersImpl implements HierarchicalBuilderProperties<HierarchicalBuilderParametersImpl>
A specialized parameters object for hierarchical configurations.
This class defines special properties for hierarchical configurations.
Because most hierarchical configurations are file-based configurations this
class extends FileBasedBuilderParametersImpl.
RESERVED_PARAMETER_PREFIX| Constructor and Description |
|---|
HierarchicalBuilderParametersImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
inheritFrom(Map<String,?> source)
Inherits properties from the specified map.
|
HierarchicalBuilderParametersImpl |
setExpressionEngine(ExpressionEngine engine)
Sets the
ExpressionEngine to be used when querying the
configuration. |
clone, fromMap, fromParameters, fromParameters, getFileHandler, getParameters, getReloadingDetectorFactory, getReloadingRefreshDelay, setBasePath, setEncoding, setFile, setFileName, setFileSystem, setLocationStrategy, setPath, setReloadingDetectorFactory, setReloadingRefreshDelay, setURLcopyPropertiesFrom, fetchBeanHelper, fetchInterpolatorSpecification, fetchProperty, merge, setBeanHelper, setConfigurationDecoder, setConversionHandler, setDefaultLookups, setInterpolator, setListDelimiterHandler, setLogger, setParentInterpolator, setPrefixLookups, setSynchronizer, setThrowExceptionOnMissing, storePropertypublic void inheritFrom(Map<String,?> source)
ConfigurationInterpolator - are tightly connected to a
configuration and cannot be reused in a different context. For other
properties, e.g. a file name, it does not make sense to copy it.
Therefore, an implementation has to be explicit in the properties it
wants to take over. This implementation takes some properties defined in this
class into account. This implementation copies some more properties defined by
this class.inheritFrom in class FileBasedBuilderParametersImplsource - the source properties to inherit frompublic HierarchicalBuilderParametersImpl setExpressionEngine(ExpressionEngine engine)
ExpressionEngine to be used when querying the
configuration. This implementation stores the expression engine in the
internal parameters map.setExpressionEngine in interface HierarchicalBuilderProperties<HierarchicalBuilderParametersImpl>engine - the ExpressionEngineCopyright © 2001–2020 The Apache Software Foundation. All rights reserved.