Class MockRepository.Plugin

java.lang.Object
org.elasticsearch.plugins.Plugin
org.elasticsearch.snapshots.mockstore.MockRepository.Plugin
All Implemented Interfaces:
Closeable, AutoCloseable, org.elasticsearch.plugins.RepositoryPlugin
Enclosing class:
MockRepository

public static class MockRepository.Plugin extends org.elasticsearch.plugins.Plugin implements org.elasticsearch.plugins.RepositoryPlugin
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final org.elasticsearch.common.settings.Setting<String>
     
    static final org.elasticsearch.common.settings.Setting<String>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Map<String,org.elasticsearch.repositories.Repository.Factory>
    getRepositories(org.elasticsearch.env.Environment env, org.elasticsearch.xcontent.NamedXContentRegistry namedXContentRegistry, org.elasticsearch.cluster.service.ClusterService clusterService, org.elasticsearch.common.util.BigArrays bigArrays, org.elasticsearch.indices.recovery.RecoverySettings recoverySettings)
     
    List<org.elasticsearch.common.settings.Setting<?>>
     

    Methods inherited from class org.elasticsearch.plugins.Plugin

    additionalSettings, close, createComponents, getAdditionalIndexSettingProviders, getBootstrapChecks, getExecutorBuilders, getIndexTemplateMetadataUpgrader, getNamedWriteables, getNamedXContent, 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
  • Field Details

    • USERNAME_SETTING

      public static final org.elasticsearch.common.settings.Setting<String> USERNAME_SETTING
    • PASSWORD_SETTING

      public static final org.elasticsearch.common.settings.Setting<String> PASSWORD_SETTING
  • Constructor Details

    • Plugin

      public Plugin()
  • Method Details

    • getRepositories

      public Map<String,org.elasticsearch.repositories.Repository.Factory> getRepositories(org.elasticsearch.env.Environment env, org.elasticsearch.xcontent.NamedXContentRegistry namedXContentRegistry, org.elasticsearch.cluster.service.ClusterService clusterService, org.elasticsearch.common.util.BigArrays bigArrays, org.elasticsearch.indices.recovery.RecoverySettings recoverySettings)
      Specified by:
      getRepositories in interface org.elasticsearch.plugins.RepositoryPlugin
    • getSettings

      public List<org.elasticsearch.common.settings.Setting<?>> getSettings()
      Overrides:
      getSettings in class org.elasticsearch.plugins.Plugin