Class MongoDBConnectionConfig

java.lang.Object
org.nuxeo.runtime.mongodb.MongoDBConnectionConfig
All Implemented Interfaces:
Descriptor

public class MongoDBConnectionConfig extends Object implements Descriptor
Descriptor to retrieve connection information to MongoDB.
Since:
9.1
  • Field Details

    • id

      public String id
    • server

      public String server
    • ssl

      public Boolean ssl
      Since:
      10.3
    • trustStorePath

      public String trustStorePath
      Since:
      10.3
    • trustStorePassword

      public String trustStorePassword
      Since:
      10.3
    • trustStoreType

      public String trustStoreType
      Since:
      10.3
    • keyStorePath

      public String keyStorePath
      Since:
      10.3
    • keyStorePassword

      public String keyStorePassword
      Since:
      10.3
    • keyStoreType

      public String keyStoreType
      Since:
      10.3
    • dbname

      public String dbname
    • maxTime

      public Duration maxTime
      Since:
      11.1 maxTime when outside of a transaction
    • properties

      public Map<String,String> properties
  • Constructor Details

    • MongoDBConnectionConfig

      public MongoDBConnectionConfig()
  • Method Details

    • getId

      public String 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 interface Descriptor
    • merge

      Description copied from interface: Descriptor
      Returns a descriptor representing other merged into this

      Default implementation returns other.

      Specified by:
      merge in interface Descriptor
      Returns:
      the merged descriptor