Class MongoDbNode
- java.lang.Object
-
- fr.gouv.vitam.common.server.application.configuration.MongoDbNode
-
public class MongoDbNode extends java.lang.Object
MongoDbNode class defining a mongo db node
-
-
Constructor Summary
Constructors Constructor Description MongoDbNode()
MongodbNode empty constructor for YAMLFactoryMongoDbNode(java.lang.String dbHost, int dbPort)
MongodbNode constructor with parameters
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDbHost()
int
getDbPort()
MongoDbNode
setDbHost(java.lang.String dbHost)
MongoDbNode
setDbPort(int dbPort)
-
-
-
Method Detail
-
getDbHost
public java.lang.String getDbHost()
- Returns:
- the dbHost
-
setDbHost
public MongoDbNode setDbHost(java.lang.String dbHost)
- Parameters:
dbHost
-- Returns:
- MongodbNode
-
getDbPort
public int getDbPort()
- Returns:
- the dbPort
-
setDbPort
public MongoDbNode setDbPort(int dbPort)
- Parameters:
dbPort
-- Returns:
- MongodbNode
-
-