T - the source and target Configuration typepublic interface ConfigurationMerger<T>
Configuration objects of the same type
<T>.| Modifier and Type | Method and Description |
|---|---|
Configuration<T> |
merge(Configuration<T> config1,
Configuration<T> config2,
net.obvj.jsonmerge.JsonMergeOption... mergeOptions)
Combines two
Configuration objects into a new Configuration. |
Configuration<T> merge(Configuration<T> config1, Configuration<T> config2, net.obvj.jsonmerge.JsonMergeOption... mergeOptions)
Configuration objects into a new Configuration.
Configuration objectsConfiguration will be selectedConfiguration (namespace and
precedence) will be applied to the new Configurationconfig1 - the first Configuration; not nullconfig2 - the second Configuration; not nullmergeOptions - an array of options on how to merge JSON objects (optional)Configuration resulting from the combination of config1
and config2Copyright © 2023. All rights reserved.