com.lordofthejars.nosqlunit.mongodb
Class ManagedMongoDb.MongoServerRuleBuilder
java.lang.Object
com.lordofthejars.nosqlunit.mongodb.ManagedMongoDb.MongoServerRuleBuilder
- Enclosing class:
- ManagedMongoDb
public static class ManagedMongoDb.MongoServerRuleBuilder
- extends Object
Builder to start mongodb server accordingly to your setup
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newManagedMongoDbRule
public static ManagedMongoDb.MongoServerRuleBuilder newManagedMongoDbRule()
mongodPath
public ManagedMongoDb.MongoServerRuleBuilder mongodPath(String mongodPath)
port
public ManagedMongoDb.MongoServerRuleBuilder port(int port)
targetPath
public ManagedMongoDb.MongoServerRuleBuilder targetPath(String targetPath)
dbRelativePath
public ManagedMongoDb.MongoServerRuleBuilder dbRelativePath(String dbRelativePath)
logRelativePath
public ManagedMongoDb.MongoServerRuleBuilder logRelativePath(String logRelativePath)
appendCommandLineArguments
public ManagedMongoDb.MongoServerRuleBuilder appendCommandLineArguments(String argumentName,
String argumentValue)
appendSingleCommandLineArguments
public ManagedMongoDb.MongoServerRuleBuilder appendSingleCommandLineArguments(String argument)
build
public ManagedMongoDb build()
Copyright © 2012. All Rights Reserved.