Package org.elasticsearch.test
Class MockIndexEventListener.TestPlugin
- java.lang.Object
-
- org.elasticsearch.plugins.Plugin
-
- org.elasticsearch.test.MockIndexEventListener.TestPlugin
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable
- Enclosing class:
- MockIndexEventListener
public static class MockIndexEventListener.TestPlugin extends Plugin
-
-
Field Summary
Fields Modifier and Type Field Description static Setting<java.lang.Boolean>INDEX_FAILFor tests to pass in to fail on listener invocation
-
Constructor Summary
Constructors Constructor Description TestPlugin()
-
Method Summary
Modifier and Type Method Description java.util.Collection<Module>createGuiceModules()java.util.List<Setting<?>>getSettings()voidonIndexModule(IndexModule module)-
Methods inherited from class org.elasticsearch.plugins.Plugin
additionalSettings, close, createComponents, getBootstrapChecks, getCustomMetaDataUpgrader, getExecutorBuilders, getFeature, getGuiceServiceClasses, getIndexMetaDataUpgrader, getIndexTemplateMetaDataUpgrader, getNamedWriteables, getNamedXContent, getSettingsFilter, getSettingUpgraders, onModule, onModule, onModule, onModule, onModule, onModule, onModule, onModule, onModule, onModule
-
-
-
-
Field Detail
-
INDEX_FAIL
public static final Setting<java.lang.Boolean> INDEX_FAIL
For tests to pass in to fail on listener invocation
-
-
Method Detail
-
getSettings
public java.util.List<Setting<?>> getSettings()
- Overrides:
getSettingsin classPlugin
-
onIndexModule
public void onIndexModule(IndexModule module)
- Overrides:
onIndexModulein classPlugin
-
createGuiceModules
public java.util.Collection<Module> createGuiceModules()
- Overrides:
createGuiceModulesin classPlugin
-
-