@Component(role=SettingsBuilder.class) public class DefaultSettingsBuilder extends Object implements SettingsBuilder
Constructor and Description |
---|
DefaultSettingsBuilder() |
Modifier and Type | Method and Description |
---|---|
SettingsBuildingResult |
build(SettingsBuildingRequest request)
Builds the effective settings of the specified settings files.
|
DefaultSettingsBuilder |
setSettingsReader(SettingsReader settingsReader) |
DefaultSettingsBuilder |
setSettingsValidator(SettingsValidator settingsValidator) |
DefaultSettingsBuilder |
setSettingsWriter(SettingsWriter settingsWriter) |
public DefaultSettingsBuilder()
public DefaultSettingsBuilder setSettingsReader(SettingsReader settingsReader)
public DefaultSettingsBuilder setSettingsWriter(SettingsWriter settingsWriter)
public DefaultSettingsBuilder setSettingsValidator(SettingsValidator settingsValidator)
public SettingsBuildingResult build(SettingsBuildingRequest request) throws SettingsBuildingException
SettingsBuilder
build
in interface SettingsBuilder
request
- The settings building request that holds the parameters, must not be null
.null
.SettingsBuildingException
- If the effective settings could not be built.Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.