jetbrains.buildServer.serverSide
Interface CustomSettingsManager


public interface CustomSettingsManager

Represents the manager of the CustomSettingss.

Since:
7.0
Author:
Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
See Also:
CustomSettings, SettingsMap

Method Summary
 CustomSettings getCustomSettings(PluginDescriptor descriptor)
          A convenient method, which correspond to a call:
 CustomSettings getCustomSettings(java.lang.String name)
          Returns the CustomSettings instance of the specified name.
 

Method Detail

getCustomSettings

@NotNull
CustomSettings getCustomSettings(@NotNull
                                         java.lang.String name)
Returns the CustomSettings instance of the specified name.

It is safe to use the settings in a multi-threaded environment, i.e. to get one or several instances of the same name in different threads and access them concurrently.

Parameters:
name - the accessor name (can be the plugin name or any internal one).
Returns:
CustomSettings instance

getCustomSettings

@NotNull
CustomSettings getCustomSettings(@NotNull
                                         PluginDescriptor descriptor)
A convenient method, which correspond to a call:
   getCustomSettings(descriptor.getPluginName())
 

Parameters:
descriptor - the plugin descriptor
Returns:
CustomSettings instance