@Component(role=ModelBuilder.class) public class DefaultModelBuilder extends Object implements ModelBuilder
Constructor and Description |
---|
DefaultModelBuilder() |
public DefaultModelBuilder()
public DefaultModelBuilder setModelProcessor(ModelProcessor modelProcessor)
public DefaultModelBuilder setModelValidator(ModelValidator modelValidator)
public DefaultModelBuilder setModelNormalizer(ModelNormalizer modelNormalizer)
public DefaultModelBuilder setModelInterpolator(ModelInterpolator modelInterpolator)
public DefaultModelBuilder setModelPathTranslator(ModelPathTranslator modelPathTranslator)
public DefaultModelBuilder setModelUrlNormalizer(ModelUrlNormalizer modelUrlNormalizer)
public DefaultModelBuilder setSuperPomProvider(SuperPomProvider superPomProvider)
public DefaultModelBuilder setProfileSelector(ProfileSelector profileSelector)
public DefaultModelBuilder setProfileInjector(ProfileInjector profileInjector)
public DefaultModelBuilder setInheritanceAssembler(InheritanceAssembler inheritanceAssembler)
public DefaultModelBuilder setDependencyManagementImporter(DependencyManagementImporter depMngmntImporter)
public DefaultModelBuilder setDependencyManagementInjector(DependencyManagementInjector depMngmntInjector)
public DefaultModelBuilder setLifecycleBindingsInjector(LifecycleBindingsInjector lifecycleBindingsInjector)
public DefaultModelBuilder setPluginConfigurationExpander(PluginConfigurationExpander pluginConfigurationExpander)
public DefaultModelBuilder setPluginManagementInjector(PluginManagementInjector pluginManagementInjector)
public DefaultModelBuilder setReportConfigurationExpander(ReportConfigurationExpander reportConfigurationExpander)
public DefaultModelBuilder setReportingConverter(ReportingConverter reportingConverter)
public ModelBuildingResult build(ModelBuildingRequest request) throws ModelBuildingException
ModelBuilder
build
in interface ModelBuilder
request
- The model building request that holds the parameters, must not be null
.null
.ModelBuildingException
- If the effective model could not be built.public ModelBuildingResult build(ModelBuildingRequest request, ModelBuildingResult result) throws ModelBuildingException
ModelBuilder
ModelBuilder.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.build
in interface ModelBuilder
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.protected boolean hasModelErrors(ModelProblemCollectorExt problems)
protected boolean hasFatalErrors(ModelProblemCollectorExt problems)
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.