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.String
INMEMORY_MONGO_TARGET_PATH
-
Constructor Summary
Constructors Constructor Description InMemoryMongoDbLifecycleManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doStart()
void
doStop()
java.lang.String
getHost()
int
getPort()
java.lang.String
getTargetPath()
void
setTargetPath(java.lang.String targetPath)
-
-
-
Method Detail
-
getHost
public java.lang.String getHost()
- Specified by:
getHost
in classcom.lordofthejars.nosqlunit.core.AbstractLifecycleManager
-
getPort
public int getPort()
- Specified by:
getPort
in classcom.lordofthejars.nosqlunit.core.AbstractLifecycleManager
-
doStart
public void doStart() throws java.lang.Throwable
- Specified by:
doStart
in classcom.lordofthejars.nosqlunit.core.AbstractLifecycleManager
- Throws:
java.lang.Throwable
-
doStop
public void doStop()
- Specified by:
doStop
in classcom.lordofthejars.nosqlunit.core.AbstractLifecycleManager
-
setTargetPath
public void setTargetPath(java.lang.String targetPath)
-
getTargetPath
public java.lang.String getTargetPath()
-
-