Class CustomSettingsManagerImpl
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.CustomSettingsManagerImpl
-
- All Implemented Interfaces:
CustomSettingsManager
public class CustomSettingsManagerImpl extends Object implements CustomSettingsManager
- Since:
- 7.0
- Author:
- Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
-
-
Constructor Summary
Constructors Constructor Description CustomSettingsManagerImpl(ServerPaths serverPaths, FileWatcherFactory fileWatcherFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomSettingsgetCustomSettings(String name)Returns theCustomSettingsinstance of the specifiedname.CustomSettingsgetCustomSettings(PluginDescriptor descriptor)A convenient method, which correspond to a call:
-
-
-
Constructor Detail
-
CustomSettingsManagerImpl
public CustomSettingsManagerImpl(@NotNull ServerPaths serverPaths, @NotNull FileWatcherFactory fileWatcherFactory)
-
-
Method Detail
-
getCustomSettings
@NotNull public CustomSettings getCustomSettings(@NotNull String name)
Description copied from interface:CustomSettingsManagerReturns theCustomSettingsinstance of the specifiedname.It is safe to use the settings in a multi-threaded environment, i.e. to get one or several instances of the same
namein different threads and access them concurrently.- Specified by:
getCustomSettingsin interfaceCustomSettingsManager- Parameters:
name- the accessor name (can be the plugin name or any internal one).- Returns:
CustomSettingsinstance
-
getCustomSettings
@NotNull public CustomSettings getCustomSettings(@NotNull PluginDescriptor descriptor)
Description copied from interface:CustomSettingsManagerA convenient method, which correspond to a call:getCustomSettings(descriptor.getPluginName())
- Specified by:
getCustomSettingsin interfaceCustomSettingsManager- Parameters:
descriptor- the plugin descriptor- Returns:
CustomSettingsinstance
-
-