Constructor | Description |
---|---|
SettingsModule(Settings settings,
java.util.List<Setting<?>> additionalSettings,
java.util.List<java.lang.String> settingsFilter) |
|
SettingsModule(Settings settings,
Setting<?>... additionalSettings) |
Modifier and Type | Method | Description |
---|---|---|
void |
configure(Binder binder) |
Contributes bindings and other configurations for this module to
binder . |
ClusterSettings |
getClusterSettings() |
|
IndexScopedSettings |
getIndexScopedSettings() |
|
Settings |
getSettings() |
|
SettingsFilter |
getSettingsFilter() |
public void configure(Binder binder)
Module
binder
.
Do not invoke this method directly to install submodules. Instead use
Binder.install(Module)
, which ensures that provider methods
are
discovered.
public Settings getSettings()
public IndexScopedSettings getIndexScopedSettings()
public ClusterSettings getClusterSettings()
public SettingsFilter getSettingsFilter()