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 String
clusterName
protected String
dataPath
protected boolean
externalVersion
protected boolean
httpEnabled
protected String
httpPort
protected String
indexStoreType
protected boolean
isEnabled
protected String
networkHost
protected String
nodeName
-
Constructor Summary
Constructors Constructor Description ElasticSearchEmbeddedServerConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getClusterName()
String
getDataPath()
String
getHomePath()
String
getHttpPort()
String
getIndexStorageType()
String
getNetworkHost()
String
getNodeName()
boolean
httpEnabled()
boolean
isEnabled()
void
setClusterName(String clusterName)
void
setDataPath(String dataPath)
void
setEnabled(boolean isEnabled)
void
setHomePath(String homePath)
void
setHttpEnabled(boolean httpEnabled)
void
setIndexStorageType(String indexStorageType)
void
setNetworkHost(String networkHost)
void
setNodeName(String nodeName)
String
toString()
boolean
useExternalVersion()
-
-
-
Field Detail
-
isEnabled
protected boolean isEnabled
-
clusterName
protected String clusterName
-
indexStoreType
protected String indexStoreType
-
httpEnabled
protected boolean httpEnabled
-
networkHost
protected String networkHost
-
externalVersion
protected boolean externalVersion
-
-
Constructor Detail
-
ElasticSearchEmbeddedServerConfig
public ElasticSearchEmbeddedServerConfig()
-
-
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()
-
-