Class SettingsModule
- java.lang.Object
-
- org.elasticsearch.common.settings.SettingsModule
-
-
Constructor Summary
Constructors Constructor Description SettingsModule(Settings settings, java.util.List<Setting<?>> additionalSettings, java.util.List<java.lang.String> settingsFilter, java.util.Set<SettingUpgrader<?>> settingUpgraders)
SettingsModule(Settings settings, Setting<?>... additionalSettings)
-
Method Summary
Modifier and Type Method Description void
configure(Binder binder)
Contributes bindings and other configurations for this module tobinder
.ClusterSettings
getClusterSettings()
IndexScopedSettings
getIndexScopedSettings()
Settings
getSettings()
SettingsFilter
getSettingsFilter()
-
-
-
Constructor Detail
-
SettingsModule
public SettingsModule(Settings settings, java.util.List<Setting<?>> additionalSettings, java.util.List<java.lang.String> settingsFilter, java.util.Set<SettingUpgrader<?>> settingUpgraders)
-
-
Method Detail
-
configure
public void configure(Binder binder)
Description copied from interface:Module
Contributes bindings and other configurations for this module tobinder
.Do not invoke this method directly to install submodules. Instead use
Binder.install(Module)
, which ensures thatprovider methods
are discovered.
-
getSettings
public Settings getSettings()
-
getIndexScopedSettings
public IndexScopedSettings getIndexScopedSettings()
-
getClusterSettings
public ClusterSettings getClusterSettings()
-
getSettingsFilter
public SettingsFilter getSettingsFilter()
-
-