Package org.elasticsearch.test
Class MockIndexEventListener.TestPlugin
java.lang.Object
org.elasticsearch.plugins.Plugin
org.elasticsearch.test.MockIndexEventListener.TestPlugin
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
MockIndexEventListener
-
Nested Class Summary
Nested classes/interfaces inherited from class org.elasticsearch.plugins.Plugin
Plugin.PluginServices -
Field Summary
FieldsModifier and TypeFieldDescriptionFor tests to pass in to fail on listener invocation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<?> createComponents(Plugin.PluginServices services) voidonIndexModule(IndexModule module) Methods inherited from class org.elasticsearch.plugins.Plugin
additionalSettings, close, getAdditionalIndexSettingProviders, getBootstrapChecks, getCustomMetadataUpgraders, getExecutorBuilders, getIndexTemplateMetadataUpgrader, getNamedWriteables, getNamedXContent, getSettingsFilter
-
Field Details
-
INDEX_FAIL
For tests to pass in to fail on listener invocation
-
-
Constructor Details
-
TestPlugin
public TestPlugin()
-
-
Method Details
-
getSettings
- Overrides:
getSettingsin classPlugin
-
onIndexModule
- Overrides:
onIndexModulein classPlugin
-
createComponents
- Overrides:
createComponentsin classPlugin
-