Class InMemoryMongoDbLifecycleManager
- java.lang.Object
-
- com.lordofthejars.nosqlunit.core.AbstractLifecycleManager
-
- com.lordofthejars.nosqlunit.mongodb.InMemoryMongoDbLifecycleManager
-
- All Implemented Interfaces:
com.lordofthejars.nosqlunit.core.LifecycleManager
public class InMemoryMongoDbLifecycleManager extends com.lordofthejars.nosqlunit.core.AbstractLifecycleManager
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringINMEMORY_MONGO_TARGET_PATH
-
Constructor Summary
Constructors Constructor Description InMemoryMongoDbLifecycleManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoStart()voiddoStop()java.lang.StringgetHost()intgetPort()java.lang.StringgetTargetPath()voidsetTargetPath(java.lang.String targetPath)
-
-
-
Method Detail
-
getHost
public java.lang.String getHost()
- Specified by:
getHostin classcom.lordofthejars.nosqlunit.core.AbstractLifecycleManager
-
getPort
public int getPort()
- Specified by:
getPortin classcom.lordofthejars.nosqlunit.core.AbstractLifecycleManager
-
doStart
public void doStart() throws java.lang.Throwable- Specified by:
doStartin classcom.lordofthejars.nosqlunit.core.AbstractLifecycleManager- Throws:
java.lang.Throwable
-
doStop
public void doStop()
- Specified by:
doStopin classcom.lordofthejars.nosqlunit.core.AbstractLifecycleManager
-
setTargetPath
public void setTargetPath(java.lang.String targetPath)
-
getTargetPath
public java.lang.String getTargetPath()
-
-