Class DefaultSettingsBuilderFactory
java.lang.Object
org.apache.maven.settings.building.DefaultSettingsBuilderFactory
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.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates a new settings builder instance.protected SettingsReader
protected SettingsValidator
protected SettingsWriter
-
Constructor Details
-
DefaultSettingsBuilderFactory
public DefaultSettingsBuilderFactory()
-
-
Method Details
-
newSettingsReader
-
newSettingsWriter
-
newSettingsValidator
-
newInstance
Creates a new settings builder instance.- Returns:
- The new settings builder instance, never
null
.
-