Package org.apache.maven.api.services
Interface ModelTransformerContextBuilder
public interface ModelTransformerContextBuilder
The transformerContextBuilder is responsible for initializing the TransformerContext.
In case rawModels are missing, it could do new buildingRequests on the ModelBuilder.
- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
The immutable transformerContext, can be used after the buildplan is finished.initialize
(ModelBuilderRequest request, ModelProblemCollector problems) This method is used to initialize the TransformerContext
-
Method Details
-
initialize
This method is used to initialize the TransformerContext- Parameters:
request
- the modelBuildingRequestproblems
- the problemCollector- Returns:
- the mutable transformerContext
-
build
ModelTransformerContext build()The immutable transformerContext, can be used after the buildplan is finished.- Returns:
- the immutable transformerContext
-