Class Combine
- java.lang.Object
-
- org.infinispan.commons.configuration.Combine
-
public class Combine extends Object
Defines how
Attributes andConfigurationElements are combined when overlaying a configuration (the overlay) on top of another (the template) usingBuilder.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
Nested Classes Modifier and Type Class Description static classCombine.Attributesstatic classCombine.RepeatedAttributes
-
Constructor Summary
Constructors Constructor Description Combine(Combine.RepeatedAttributes repeatedAttributes, Combine.Attributes attributes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Combine.Attributesattributes()Combine.RepeatedAttributesrepeatedAttributes()StringtoString()
-
-
-
Field Detail
-
DEFAULT
public static final Combine DEFAULT
-
-
Constructor Detail
-
Combine
public Combine(Combine.RepeatedAttributes repeatedAttributes, Combine.Attributes attributes)
-
-
Method Detail
-
repeatedAttributes
public Combine.RepeatedAttributes repeatedAttributes()
-
attributes
public Combine.Attributes attributes()
-
-