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 Durationprotected Stringprotected Stringprotected OpenSearchClientConfig.Storeprotected StringPassword for auth to the cluster.protected Durationprotected Booleanprotected OpenSearchClientConfig.Storeprotected StringUsername 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.booleanmerge(Descriptor o) Returns a descriptor representingothermerged intothisprotected voidsetServers(List<String> servers) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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:DescriptorThe 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:
getIdin interfaceDescriptor
-
getServers
-
setServers
-
getEmbedServer
-
getConnectionTimeout
-
getSocketTimeout
-
isSslCertificateVerification
public boolean isSslCertificateVerification() -
getUsername
-
getPassword
-
getTrustStore
-
getKeyStore
-
merge
Description copied from interface:DescriptorReturns a descriptor representingothermerged intothisDefault implementation returns
other.- Specified by:
mergein interfaceDescriptor- Returns:
- the merged descriptor
-
toString
-