Package org.elasticsearch.test
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 nodeabstract 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 clientorg.elasticsearch.common.settings.Settings
transportClientSettings()
-
Field Details
-
Constructor Details
-
NodeConfigurationSource
public NodeConfigurationSource()
-
-
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
-