public interface ConfigTransferService
Sideways API.| Modifier and Type | Method and Description |
|---|---|
void |
clear(String component)
Reset all configuration items for the given component back to their
defaults.
|
List<Config> |
getConfigs(SystemInformation system)
Get
Configs for all components (default and modified). |
void |
modify(Config modifiedConfig)
Update the Config of a given component with the key/value
pairs supplied. |
List<Config> getConfigs(SystemInformation system) throws Exception
Configs for all components (default and modified).system - the system to fetch the configurations fromException - if error occurs fetching configurationsvoid modify(Config modifiedConfig)
pairs supplied. The map of key/value pairs must be
non-null and contain one or more entries with non-null keys that are
valid keys for the given component.modifiedConfig - the modified configurationvoid clear(String component)
component - the name of the component whose configuration will be
resetCopyright © 2014. All Rights Reserved.