- All Implemented Interfaces:
Handles profile injection into the model.
- Benjamin Bentmann
Nested Class SummaryModifier and TypeClassDescription
protected static classProfileModelMerger
injectProfilepublic void injectProfile
(Model model, Profile profile, ModelBuildingRequest request, ModelProblemCollector problems)Description copied from interface:
ProfileInjectorMerges values from the specified profile into the given model. Implementations are expected to keep the profile and model completely decoupled by injecting deep copies rather than the original objects from the profile.
- Specified by:
model- The model into which to merge the values defined by the profile, must not be
profile- The (read-only) profile whose values should be injected, may be
request- The model building request that holds further settings, must not be
problems- The container used to collect problems that were encountered, must not be