Package org.nuxeo.runtime.mongodb
Class MongoDBConnectionConfig
java.lang.Object
org.nuxeo.runtime.mongodb.MongoDBConnectionConfig
- All Implemented Interfaces:
Descriptor
Descriptor to retrieve connection information to MongoDB.
- Since:
- 9.1
-
Field Summary
Modifier and TypeFieldDescriptionFields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
The descriptor id, descriptors with same id are merged.merge
(Descriptor o) Returns a descriptor representingother
merged intothis
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove
-
Field Details
-
id
-
server
-
ssl
- Since:
- 10.3
-
trustStorePath
- Since:
- 10.3
-
trustStorePassword
- Since:
- 10.3
-
trustStoreType
- Since:
- 10.3
-
keyStorePath
- Since:
- 10.3
-
keyStorePassword
- Since:
- 10.3
-
keyStoreType
- Since:
- 10.3
-
dbname
-
maxTime
- Since:
- 11.1 maxTime when outside of a transaction
-
properties
-
-
Constructor Details
-
MongoDBConnectionConfig
public MongoDBConnectionConfig()
-
-
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
-
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
-