org.apache.maven.model.building
Class DefaultModelBuilder

java.lang.Object
  extended by org.apache.maven.model.building.DefaultModelBuilder
All Implemented Interfaces:
ModelBuilder

@Component(role=ModelBuilder.class)
public class DefaultModelBuilder
extends Object
implements ModelBuilder

Author:
Benjamin Bentmann

Constructor Summary
DefaultModelBuilder()
           
 
Method Summary
 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 ModelBuilder.build(ModelBuildingRequest) with ModelBuildingRequest.isTwoPhaseBuilding() being true.
 DefaultModelBuilder setDependencyManagementImporter(DependencyManagementImporter depMngmntImporter)
           
 DefaultModelBuilder setDependencyManagementInjector(DependencyManagementInjector depMngmntInjector)
           
 DefaultModelBuilder setInheritanceAssembler(InheritanceAssembler inheritanceAssembler)
           
 DefaultModelBuilder setLifecycleBindingsInjector(LifecycleBindingsInjector lifecycleBindingsInjector)
           
 DefaultModelBuilder setModelInterpolator(ModelInterpolator modelInterpolator)
           
 DefaultModelBuilder setModelNormalizer(ModelNormalizer modelNormalizer)
           
 DefaultModelBuilder setModelPathTranslator(ModelPathTranslator modelPathTranslator)
           
 DefaultModelBuilder setModelProcessor(ModelProcessor modelProcessor)
           
 DefaultModelBuilder setModelUrlNormalizer(ModelUrlNormalizer modelUrlNormalizer)
           
 DefaultModelBuilder setModelValidator(ModelValidator modelValidator)
           
 DefaultModelBuilder setPluginConfigurationExpander(PluginConfigurationExpander pluginConfigurationExpander)
           
 DefaultModelBuilder setPluginManagementInjector(PluginManagementInjector pluginManagementInjector)
           
 DefaultModelBuilder setProfileInjector(ProfileInjector profileInjector)
           
 DefaultModelBuilder setProfileSelector(ProfileSelector profileSelector)
           
 DefaultModelBuilder setReportConfigurationExpander(ReportConfigurationExpander reportConfigurationExpander)
           
 DefaultModelBuilder setReportingConverter(ReportingConverter reportingConverter)
           
 DefaultModelBuilder setSuperPomProvider(SuperPomProvider superPomProvider)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultModelBuilder

public DefaultModelBuilder()
Method Detail

setModelProcessor

public DefaultModelBuilder setModelProcessor(ModelProcessor modelProcessor)

setModelValidator

public DefaultModelBuilder setModelValidator(ModelValidator modelValidator)

setModelNormalizer

public DefaultModelBuilder setModelNormalizer(ModelNormalizer modelNormalizer)

setModelInterpolator

public DefaultModelBuilder setModelInterpolator(ModelInterpolator modelInterpolator)

setModelPathTranslator

public DefaultModelBuilder setModelPathTranslator(ModelPathTranslator modelPathTranslator)

setModelUrlNormalizer

public DefaultModelBuilder setModelUrlNormalizer(ModelUrlNormalizer modelUrlNormalizer)

setSuperPomProvider

public DefaultModelBuilder setSuperPomProvider(SuperPomProvider superPomProvider)

setProfileSelector

public DefaultModelBuilder setProfileSelector(ProfileSelector profileSelector)

setProfileInjector

public DefaultModelBuilder setProfileInjector(ProfileInjector profileInjector)

setInheritanceAssembler

public DefaultModelBuilder setInheritanceAssembler(InheritanceAssembler inheritanceAssembler)

setDependencyManagementImporter

public DefaultModelBuilder setDependencyManagementImporter(DependencyManagementImporter depMngmntImporter)

setDependencyManagementInjector

public DefaultModelBuilder setDependencyManagementInjector(DependencyManagementInjector depMngmntInjector)

setLifecycleBindingsInjector

public DefaultModelBuilder setLifecycleBindingsInjector(LifecycleBindingsInjector lifecycleBindingsInjector)

setPluginConfigurationExpander

public DefaultModelBuilder setPluginConfigurationExpander(PluginConfigurationExpander pluginConfigurationExpander)

setPluginManagementInjector

public DefaultModelBuilder setPluginManagementInjector(PluginManagementInjector pluginManagementInjector)

setReportConfigurationExpander

public DefaultModelBuilder setReportConfigurationExpander(ReportConfigurationExpander reportConfigurationExpander)

setReportingConverter

public DefaultModelBuilder setReportingConverter(ReportingConverter reportingConverter)

build

public ModelBuildingResult build(ModelBuildingRequest request)
                          throws ModelBuildingException
Description copied from interface: ModelBuilder
Builds the effective model of the specified POM.

Specified by:
build in interface ModelBuilder
Parameters:
request - The model building request that holds the parameters, must not be null.
Returns:
The result of the model building, never null.
Throws:
ModelBuildingException - If the effective model could not be built.

build

public ModelBuildingResult build(ModelBuildingRequest request,
                                 ModelBuildingResult result)
                          throws ModelBuildingException
Description copied from interface: ModelBuilder
Builds the effective model by completing the specified interim result which was produced by a previous call to 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.

Specified by:
build in interface ModelBuilder
Parameters:
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.
Returns:
The result of the model building, never null.
Throws:
ModelBuildingException - If the effective model could not be built.


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.