Class SettingsModule

java.lang.Object
org.elasticsearch.common.settings.SettingsModule
All Implemented Interfaces:
Module

public class SettingsModule extends Object implements Module
A module that binds the provided settings to the Settings interface.
  • Constructor Details

    • SettingsModule

      public SettingsModule(Settings settings, Setting<?>... additionalSettings)
    • SettingsModule

      public SettingsModule(Settings settings, List<Setting<?>> additionalSettings, List<String> settingsFilter)
  • Method Details

    • configure

      public void configure(Binder binder)
      Description copied from interface: Module
      Contributes bindings and other configurations for this module to binder.

      Do not invoke this method directly to install submodules. Instead use Binder.install(Module).

      Specified by:
      configure in interface Module
    • getSettings

      public Settings getSettings()
    • getIndexScopedSettings

      public IndexScopedSettings getIndexScopedSettings()
    • getClusterSettings

      public ClusterSettings getClusterSettings()
    • getConsistentSettings

      public Set<Setting<?>> getConsistentSettings()
    • getSettingsFilter

      public SettingsFilter getSettingsFilter()