Package org.apache.maven.api.services
Interface ModelTransformer
A model transformer.
- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptiontransform(Model model, ModelBuilderRequest request, ModelProblemCollector problems) Apply a transformation on the file model.
-
Method Details
-
transform
@Nonnull Model transform(@Nonnull Model model, @Nonnull ModelBuilderRequest request, @Nonnull ModelProblemCollector problems) Apply a transformation on the file model.- Parameters:
model- the input modelproblems- the problem collector to report any issues encountered during transformation- Returns:
- the transformed model, or the input model if no transformation is needed
-