@Named @Singleton public class DefaultInheritanceAssembler extends Object implements InheritanceAssembler
Modifier and Type | Class and Description |
---|---|
protected static class |
DefaultInheritanceAssembler.InheritanceModelMerger
InheritanceModelMerger
|
Constructor and Description |
---|
DefaultInheritanceAssembler() |
Modifier and Type | Method and Description |
---|---|
org.apache.maven.api.model.Model |
assembleModelInheritance(org.apache.maven.api.model.Model child,
org.apache.maven.api.model.Model parent,
ModelBuildingRequest request,
ModelProblemCollector problems)
Merges values from the specified parent model into the given child model.
|
public org.apache.maven.api.model.Model assembleModelInheritance(org.apache.maven.api.model.Model child, org.apache.maven.api.model.Model parent, ModelBuildingRequest request, ModelProblemCollector problems)
InheritanceAssembler
assembleModelInheritance
in interface InheritanceAssembler
child
- The child model into which to merge the values inherited from the parent, must not be
null
.parent
- The (read-only) parent model from which to inherit the values, may be null
.request
- The model building request that holds further settings, must not be null
.problems
- The container used to collect problems that were encountered, must not be null
.Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.