Class SettingsModule
java.lang.Object
org.elasticsearch.common.settings.SettingsModule
- All Implemented Interfaces:
Module
A module that binds the provided settings to the
Settings
interface.-
Constructor Summary
ConstructorDescriptionSettingsModule(Settings settings, List<Setting<?>> additionalSettings, List<String> settingsFilter, Set<SettingUpgrader<?>> settingUpgraders)
SettingsModule(Settings settings, Setting<?>... additionalSettings)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Contributes bindings and other configurations for this module tobinder
.
-
Constructor Details
-
SettingsModule
-
SettingsModule
-
-
Method Details
-
configure
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
-
getIndexScopedSettings
-
getClusterSettings
-
getConsistentSettings
-
getSettingsFilter
-