Package org.apache.maven.api.services
Interface SettingsBuilder
- All Superinterfaces:
- Service
Builds the effective settings from a user settings file and/or a global settings file.
- 
Method SummaryModifier and TypeMethodDescriptionbuild(SettingsBuilderRequest request) Builds the effective settings of the specified settings files.default SettingsBuilderResultBuilds the effective settings of the specified settings paths.default SettingsBuilderResultBuilds the effective settings of the specified settings sources.
- 
Method Details- 
buildBuilds the effective settings of the specified settings files.- Parameters:
- request- the settings building request that holds the parameters, must not be- null
- Returns:
- the result of the settings building, never null
- Throws:
- SettingsBuilderException- if the effective settings could not be built
 
- 
build@Nonnull default SettingsBuilderResult build(@Nonnull Session session, @Nonnull Source globalSettingsSource, @Nonnull Source userSettingsSource) Builds the effective settings of the specified settings sources.- Returns:
- the result of the settings building, never null
- Throws:
- SettingsBuilderException- if the effective settings could not be built
 
- 
build@Nonnull default SettingsBuilderResult build(@Nonnull Session session, @Nonnull Path globalSettingsPath, @Nonnull Path userSettingsPath) Builds the effective settings of the specified settings paths.- Returns:
- the result of the settings building, never null
- Throws:
- SettingsBuilderException- if the effective settings could not be built
 
 
-