Class OpenSearchClientConfig
java.lang.Object
org.nuxeo.runtime.opensearch1.client.OpenSearchClientConfig
- All Implemented Interfaces:
Descriptor
Descriptor to retrieve connection information to MongoDB.
- Since:
- 9.1
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Duration
protected String
protected String
protected OpenSearchClientConfig.Store
protected String
Password for auth to the cluster.protected Duration
protected Boolean
protected OpenSearchClientConfig.Store
protected String
Username for auth to the cluster.Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()
The descriptor id, descriptors with same id are merged.boolean
merge
(Descriptor o) Returns a descriptor representingother
merged intothis
protected void
setServers
(List<String> servers) toString()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove
-
Field Details
-
id
-
servers
-
embedServer
-
connectionTimeout
-
socketTimeout
-
sslCertificateVerification
-
username
Username for auth to the cluster. -
password
Password for auth to the cluster. -
trustStore
-
keyStore
-
-
Constructor Details
-
OpenSearchClientConfig
public OpenSearchClientConfig()
-
-
Method Details
-
getId
Description copied from interface:Descriptor
The descriptor id, descriptors with same id are merged.To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overriden
toString()
for exemple.- Specified by:
getId
in interfaceDescriptor
-
getServers
-
setServers
-
getEmbedServer
-
getConnectionTimeout
-
getSocketTimeout
-
isSslCertificateVerification
public boolean isSslCertificateVerification() -
getUsername
-
getPassword
-
getTrustStore
-
getKeyStore
-
merge
Description copied from interface:Descriptor
Returns a descriptor representingother
merged intothis
Default implementation returns
other
.- Specified by:
merge
in interfaceDescriptor
- Returns:
- the merged descriptor
-
toString
-