Class Combine

java.lang.Object
org.infinispan.commons.configuration.Combine

public class Combine extends Object

Defines how Attributes and ConfigurationElements 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