Class Combine
java.lang.Object
org.infinispan.commons.configuration.Combine
Defines how Attribute
s and ConfigurationElement
s
are combined when overlaying a configuration (the overlay) on top of another (the template) using Builder.read(Object, Combine)
.
The strategies for combining attributes:
- MERGE: the overlay attributes overwrite those of the template only if they have been modified
- OVERRIDE: the overlay attributes are used, regardless of their modification status.
The strategies for combining repeatable attributes:
- MERGE: repeatable attributes will be a combination of both the template and the overlay.
- OVERRIDE: only the overlay repeatable attributes will be used.
- Since:
- 15.0
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static enum
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCombine
(Combine.RepeatedAttributes repeatedAttributes, Combine.Attributes attributes) -
Method Summary