org.apache.maven.settings.building
Class DefaultSettingsBuilderFactory
java.lang.Object
org.apache.maven.settings.building.DefaultSettingsBuilderFactory
public class DefaultSettingsBuilderFactory
- extends Object
A factory to create settings builder instances when no dependency injection is available. Note: This class
is only meant as a utility for developers that want to employ the settings builder outside of the Maven build system,
Maven plugins should always acquire settings builder instances via dependency injection. Developers might want to
subclass this factory to provide custom implementations for some of the components used by the settings builder.
- Author:
- Benjamin Bentmann
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSettingsBuilderFactory
public DefaultSettingsBuilderFactory()
newSettingsReader
protected SettingsReader newSettingsReader()
newSettingsWriter
protected SettingsWriter newSettingsWriter()
newSettingsValidator
protected SettingsValidator newSettingsValidator()
newInstance
public DefaultSettingsBuilder newInstance()
- Creates a new settings builder instance.
- Returns:
- The new settings builder instance, never
null
.
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.