Class DiffConfig.Builder
java.lang.Object
eu.maveniverse.domtrip.DiffConfig.Builder
- Enclosing class:
DiffConfig
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configuration.Configures match keys for an element name.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
matchBy
Configures match keys for an element name. Use"*"as the element name for a wildcard that applies to all elements without specific keys.Keys can refer to child element names (e.g.,
"groupId"for Maven dependencies) or attribute names (e.g.,"id").- Parameters:
elementName- the element name, or"*"for wildcardkeyAttributes- the attribute or child element names that form the identity- Returns:
- this builder
-
build
-