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 . |
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.Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.