Class NodeConfigurationSource

java.lang.Object
org.elasticsearch.test.NodeConfigurationSource

public abstract class NodeConfigurationSource
extends java.lang.Object
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static NodeConfigurationSource EMPTY  
  • Constructor Summary

    Constructors 
    Constructor Description
    NodeConfigurationSource()  
  • Method Summary

    Modifier and Type Method Description
    abstract java.nio.file.Path nodeConfigPath​(int nodeOrdinal)  
    java.util.Collection<java.lang.Class<? extends org.elasticsearch.plugins.Plugin>> nodePlugins()
    Returns plugins that should be loaded on the node
    abstract org.elasticsearch.common.settings.Settings nodeSettings​(int nodeOrdinal)  
    java.util.Collection<java.lang.Class<? extends org.elasticsearch.plugins.Plugin>> transportClientPlugins()
    Returns plugins that should be loaded in the transport client
    org.elasticsearch.common.settings.Settings transportClientSettings()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • nodeSettings

      public abstract org.elasticsearch.common.settings.Settings nodeSettings​(int nodeOrdinal)
      Returns:
      the settings for the node represented by the given ordinal, or null if there are no settings defined
    • nodeConfigPath

      public abstract java.nio.file.Path nodeConfigPath​(int nodeOrdinal)
    • nodePlugins

      public java.util.Collection<java.lang.Class<? extends org.elasticsearch.plugins.Plugin>> nodePlugins()
      Returns plugins that should be loaded on the node
    • transportClientSettings

      public org.elasticsearch.common.settings.Settings transportClientSettings()
    • transportClientPlugins

      public java.util.Collection<java.lang.Class<? extends org.elasticsearch.plugins.Plugin>> transportClientPlugins()
      Returns plugins that should be loaded in the transport client