MergeStrategypublic class DefaultMergeStrategy extends Object implements MergeStrategy
The default merge strategy performs the merge according to the following rules:
| Constructor | Description |
|---|---|
DefaultMergeStrategy() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
mergConfigurations(Node target,
Node source,
PluginManager pluginManager) |
Merge the source Configuration into the target Configuration.
|
void |
mergeRootProperties(Node rootNode,
AbstractConfiguration configuration) |
Merge the root properties.
|
public void mergeRootProperties(Node rootNode, AbstractConfiguration configuration)
mergeRootProperties in interface MergeStrategyrootNode - The composite root node.configuration - The configuration to merge.public void mergConfigurations(Node target, Node source, PluginManager pluginManager)
mergConfigurations in interface MergeStrategytarget - The target node to merge into.source - The source node.pluginManager - The PluginManager.Copyright © 1999-2018. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.