Interface MergeStrategy
-
- All Known Implementing Classes:
DefaultMergeStrategy
public interface MergeStrategy
Merges two configurations together
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
mergConfigurations(Node target, Node source, PluginManager pluginManager)
Merge the soure node tree into the target node tree.void
mergeRootProperties(Node rootNode, AbstractConfiguration configuration)
Merge the root node properties into the configuration.
-
-
-
Method Detail
-
mergeRootProperties
void mergeRootProperties(Node rootNode, AbstractConfiguration configuration)
Merge the root node properties into the configuration.- Parameters:
rootNode
- The composite root node.configuration
- The configuration to merge.
-
mergConfigurations
void mergConfigurations(Node target, Node source, PluginManager pluginManager)
Merge the soure node tree into the target node tree.- Parameters:
target
- The target Node tree.source
- The source Node tree.
-
-