public interface ESClientInitializationService
Modifier and Type | Method and Description |
---|---|
String |
getPassword()
Get password if authentication is required
|
String |
getSslKeystorePassword()
Get ssl keystore password
|
String |
getSslKeystorePath()
Get ssl keystore path
|
String |
getUsername()
Get username if authentication is required
|
org.elasticsearch.client.transport.TransportClient |
initializeClient(org.elasticsearch.common.settings.Settings settings)
Initialize Elasticsearch client
|
org.elasticsearch.common.settings.Settings |
initializeSettings(ElasticSearchRemoteConfig config)
Initialize Elasticsearch client settings
|
void |
setPassword(String password)
Set password for authentication
|
void |
setSslKeystorePassword(String sslKeystorePassword)
Set ssl keystore password
|
void |
setSslKeystorePath(String sslKeystorePath)
Set ssl keystore path
|
void |
setUsername(String username)
Set username for authentication
|
org.elasticsearch.common.settings.Settings initializeSettings(ElasticSearchRemoteConfig config)
config
- the cluster configurationorg.elasticsearch.client.transport.TransportClient initializeClient(org.elasticsearch.common.settings.Settings settings)
settings
- the client settingsString getUsername()
void setUsername(String username)
username
- the usernameString getPassword()
void setPassword(String password)
password
- the passwordString getSslKeystorePath()
void setSslKeystorePath(String sslKeystorePath)
sslKeystorePath
- the keystore pathString getSslKeystorePassword()
void setSslKeystorePassword(String sslKeystorePassword)
sslKeystorePassword
- the keystore passwordCopyright © 2017 Nuxeo. All rights reserved.