public interface ModelBuilder
Modifier and Type | Method and Description |
---|---|
ModelBuildingResult |
build(ModelBuildingRequest request)
Builds the effective model of the specified POM.
|
ModelBuildingResult |
build(ModelBuildingRequest request,
ModelBuildingResult result)
Builds the effective model by completing the specified interim result which was produced by a previous call to
build(ModelBuildingRequest) with ModelBuildingRequest.isTwoPhaseBuilding() being true . |
Result<? extends Model> |
buildRawModel(File pomFile,
int validationLevel,
boolean locationTracking)
Performs only the part of
build(ModelBuildingRequest) that loads the raw model |
ModelBuildingResult build(ModelBuildingRequest request) throws ModelBuildingException
request
- The model building request that holds the parameters, must not be null
.null
.ModelBuildingException
- If the effective model could not be built.ModelBuildingResult build(ModelBuildingRequest request, ModelBuildingResult result) throws ModelBuildingException
build(ModelBuildingRequest)
with ModelBuildingRequest.isTwoPhaseBuilding()
being true
.
The model building request passed to this method must be the same as the one used for the first phase of the
model building.request
- The model building request that holds the parameters, must not be null
.result
- The interim result of the first phase of model building, must not be null
.null
.ModelBuildingException
- If the effective model could not be built.Result<? extends Model> buildRawModel(File pomFile, int validationLevel, boolean locationTracking)
build(ModelBuildingRequest)
that loads the raw modelCopyright © 2001–2021 The Apache Software Foundation. All rights reserved.