org.apache.maven.settings.building
Class DefaultSettingsBuilder
java.lang.Object
org.apache.maven.settings.building.DefaultSettingsBuilder
- All Implemented Interfaces:
- SettingsBuilder
@Component(role=SettingsBuilder.class)
public class DefaultSettingsBuilder
- extends Object
- implements SettingsBuilder
Builds the effective settings from a user settings file and/or a global settings file.
- Author:
- Benjamin Bentmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSettingsBuilder
public DefaultSettingsBuilder()
setSettingsReader
public DefaultSettingsBuilder setSettingsReader(SettingsReader settingsReader)
setSettingsWriter
public DefaultSettingsBuilder setSettingsWriter(SettingsWriter settingsWriter)
setSettingsValidator
public DefaultSettingsBuilder setSettingsValidator(SettingsValidator settingsValidator)
build
public SettingsBuildingResult build(SettingsBuildingRequest request)
throws SettingsBuildingException
- Description copied from interface:
SettingsBuilder
- Builds the effective settings of the specified settings files.
- Specified by:
build
in interface SettingsBuilder
- Parameters:
request
- The settings building request that holds the parameters, must not be null
.
- Returns:
- The result of the settings building, never
null
.
- Throws:
SettingsBuildingException
- If the effective settings could not be built.
Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.