Package org.elasticsearch.test.store
Class MockFSIndexStore.TestPlugin
- java.lang.Object
-
- org.elasticsearch.plugins.Plugin
-
- org.elasticsearch.test.store.MockFSIndexStore.TestPlugin
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,IndexStorePlugin
- Enclosing class:
- MockFSIndexStore
public static class MockFSIndexStore.TestPlugin extends Plugin implements IndexStorePlugin
-
-
Constructor Summary
Constructors Constructor Description TestPlugin()
-
Method Summary
Modifier and Type Method Description SettingsadditionalSettings()java.util.Map<java.lang.String,java.util.function.Function<IndexSettings,IndexStore>>getIndexStoreFactories()java.util.List<Setting<?>>getSettings()voidonIndexModule(IndexModule indexModule)-
Methods inherited from class org.elasticsearch.plugins.Plugin
close, createComponents, createGuiceModules, getBootstrapChecks, getCustomMetaDataUpgrader, getExecutorBuilders, getFeature, getGuiceServiceClasses, getIndexMetaDataUpgrader, getIndexTemplateMetaDataUpgrader, getNamedWriteables, getNamedXContent, getSettingsFilter, getSettingUpgraders, onModule, onModule, onModule, onModule, onModule, onModule, onModule, onModule, onModule, onModule
-
-
-
-
Method Detail
-
additionalSettings
public Settings additionalSettings()
- Overrides:
additionalSettingsin classPlugin
-
getSettings
public java.util.List<Setting<?>> getSettings()
- Overrides:
getSettingsin classPlugin
-
getIndexStoreFactories
public java.util.Map<java.lang.String,java.util.function.Function<IndexSettings,IndexStore>> getIndexStoreFactories()
- Specified by:
getIndexStoreFactoriesin interfaceIndexStorePlugin
-
onIndexModule
public void onIndexModule(IndexModule indexModule)
- Overrides:
onIndexModulein classPlugin
-
-