public interface CustomSettingsManager
CustomSettingss.CustomSettings,
SettingsMap| Modifier and Type | Method and Description |
|---|---|
CustomSettings |
getCustomSettings(PluginDescriptor descriptor)
Deprecated.
A convenient method, which correspond to a call:
|
CustomSettings |
getCustomSettings(java.lang.String name)
Deprecated.
Returns the
CustomSettings instance of the specified name. |
@NotNull CustomSettings getCustomSettings(@NotNull java.lang.String name)
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.
name - the accessor name (can be the plugin name or any internal one).CustomSettings instance@NotNull CustomSettings getCustomSettings(@NotNull PluginDescriptor descriptor)
getCustomSettings(descriptor.getPluginName())
descriptor - the plugin descriptorCustomSettings instance