Package org.nuxeo.elasticsearch.config
Class ElasticSearchEmbeddedServerConfig
- java.lang.Object
-
- org.nuxeo.elasticsearch.config.ElasticSearchEmbeddedServerConfig
-
public class ElasticSearchEmbeddedServerConfig extends Object
Configuration of an embedded (same JVM as Nuxeo) Elasticsearch server.
-
-
Field Summary
Fields Modifier and Type Field Description protected StringclusterNameprotected StringdataPathprotected booleanexternalVersionprotected booleanhttpEnabledprotected StringhttpPortprotected StringindexStoreTypeprotected booleanisEnabledprotected StringnetworkHostprotected StringnodeName
-
Constructor Summary
Constructors Constructor Description ElasticSearchEmbeddedServerConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetClusterName()StringgetDataPath()StringgetHomePath()StringgetHttpPort()StringgetIndexStorageType()StringgetNetworkHost()StringgetNodeName()booleanhttpEnabled()booleanisEnabled()voidsetClusterName(String clusterName)voidsetDataPath(String dataPath)voidsetEnabled(boolean isEnabled)voidsetHomePath(String homePath)voidsetHttpEnabled(boolean httpEnabled)voidsetIndexStorageType(String indexStorageType)voidsetNetworkHost(String networkHost)voidsetNodeName(String nodeName)StringtoString()booleanuseExternalVersion()
-
-
-
Field Detail
-
isEnabled
protected boolean isEnabled
-
clusterName
protected String clusterName
-
nodeName
protected String nodeName
-
dataPath
protected String dataPath
-
indexStoreType
protected String indexStoreType
-
httpEnabled
protected boolean httpEnabled
-
httpPort
protected String httpPort
-
networkHost
protected String networkHost
-
externalVersion
protected boolean externalVersion
-
-
Method Detail
-
getClusterName
public String getClusterName()
-
setClusterName
public void setClusterName(String clusterName)
-
getHomePath
public String getHomePath()
- Since:
- 8.4
-
setHomePath
public void setHomePath(String homePath)
- Since:
- 8.4
-
getDataPath
public String getDataPath()
-
setDataPath
public void setDataPath(String dataPath)
-
getIndexStorageType
public String getIndexStorageType()
-
setIndexStorageType
public void setIndexStorageType(String indexStorageType)
-
getNetworkHost
public String getNetworkHost()
- Since:
- 7.4
-
setNetworkHost
public void setNetworkHost(String networkHost)
- Since:
- 7.4
-
getNodeName
public String getNodeName()
-
setNodeName
public void setNodeName(String nodeName)
-
httpEnabled
public boolean httpEnabled()
-
isEnabled
public boolean isEnabled()
-
setEnabled
public void setEnabled(boolean isEnabled)
-
setHttpEnabled
public void setHttpEnabled(boolean httpEnabled)
-
useExternalVersion
public boolean useExternalVersion()
-
getHttpPort
public String getHttpPort()
-
-