Class SettingsModule

All Implemented Interfaces:

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

  • 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), which ensures that provider methods are discovered.

      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()