com.lordofthejars.nosqlunit.mongodb
Class ManagedMongoDb.MongoServerRuleBuilder

java.lang.Object
  extended by 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


Method Summary
 ManagedMongoDb.MongoServerRuleBuilder appendCommandLineArguments(String argumentName, String argumentValue)
           
 ManagedMongoDb.MongoServerRuleBuilder appendSingleCommandLineArguments(String argument)
           
 ManagedMongoDb build()
           
 ManagedMongoDb.MongoServerRuleBuilder dbRelativePath(String dbRelativePath)
           
 ManagedMongoDb.MongoServerRuleBuilder logRelativePath(String logRelativePath)
           
 ManagedMongoDb.MongoServerRuleBuilder mongodPath(String mongodPath)
           
static ManagedMongoDb.MongoServerRuleBuilder newManagedMongoDbRule()
           
 ManagedMongoDb.MongoServerRuleBuilder port(int port)
           
 ManagedMongoDb.MongoServerRuleBuilder targetPath(String targetPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.