java.lang.Object
fr.gouv.vitam.common.server.application.configuration.MongoDbNode

public class MongoDbNode extends Object
MongoDbNode class defining a mongo db node
  • Constructor Details

    • MongoDbNode

      public MongoDbNode()
      MongodbNode empty constructor for YAMLFactory
    • MongoDbNode

      public MongoDbNode(String dbHost, int dbPort)
      MongodbNode constructor with parameters
      Parameters:
      dbHost -
      dbPort -
  • Method Details

    • getDbHost

      public String getDbHost()
      Returns:
      the dbHost
    • setDbHost

      public MongoDbNode setDbHost(String dbHost)
      Parameters:
      dbHost -
      Returns:
      MongodbNode
    • getDbPort

      public int getDbPort()
      Returns:
      the dbPort
    • setDbPort

      public MongoDbNode setDbPort(int dbPort)
      Parameters:
      dbPort -
      Returns:
      MongodbNode