Interface MergeStrategy
-
- All Known Implementing Classes:
DefaultMergeStrategy
public interface MergeStrategyMerges two configurations together
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidmergConfigurations(Node target, Node source, PluginManager pluginManager)Merge the soure node tree into the target node tree.voidmergeRootProperties(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.
-
-