Class MockRepository.Plugin
- java.lang.Object
-
- org.elasticsearch.plugins.Plugin
-
- org.elasticsearch.snapshots.mockstore.MockRepository.Plugin
-
- All Implemented Interfaces:
java.io.Closeable,java.lang.AutoCloseable,RepositoryPlugin
- Enclosing class:
- MockRepository
public static class MockRepository.Plugin extends Plugin implements RepositoryPlugin
-
-
Field Summary
Fields Modifier and Type Field Description static Setting<java.lang.String>PASSWORD_SETTINGstatic Setting<java.lang.String>USERNAME_SETTING
-
Constructor Summary
Constructors Constructor Description Plugin()
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,Repository.Factory>getRepositories(Environment env, NamedXContentRegistry namedXContentRegistry, ThreadPool threadPool)java.util.List<Setting<?>>getSettings()-
Methods inherited from class org.elasticsearch.plugins.Plugin
additionalSettings, close, createComponents, createGuiceModules, getBootstrapChecks, getExecutorBuilders, getFeature, getGuiceServiceClasses, getIndexTemplateMetaDataUpgrader, getNamedWriteables, getNamedXContent, getRoles, getSettingsFilter, getSettingUpgraders, onIndexModule
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.plugins.RepositoryPlugin
getInternalRepositories
-
-
-
-
Method Detail
-
getRepositories
public java.util.Map<java.lang.String,Repository.Factory> getRepositories(Environment env, NamedXContentRegistry namedXContentRegistry, ThreadPool threadPool)
- Specified by:
getRepositoriesin interfaceRepositoryPlugin
-
getSettings
public java.util.List<Setting<?>> getSettings()
- Overrides:
getSettingsin classPlugin
-
-