Class InMemoryMongoDbLifecycleManager

  • All Implemented Interfaces:
    com.lordofthejars.nosqlunit.core.LifecycleManager

    public class InMemoryMongoDbLifecycleManager
    extends com.lordofthejars.nosqlunit.core.AbstractLifecycleManager
    • 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)  
      • Methods inherited from class com.lordofthejars.nosqlunit.core.AbstractLifecycleManager

        isReady, startEngine, stopEngine
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • INMEMORY_MONGO_TARGET_PATH

        public static final java.lang.String INMEMORY_MONGO_TARGET_PATH
    • Constructor Detail

      • InMemoryMongoDbLifecycleManager

        public InMemoryMongoDbLifecycleManager()
    • Method Detail

      • getHost

        public java.lang.String getHost()
        Specified by:
        getHost in class com.lordofthejars.nosqlunit.core.AbstractLifecycleManager
      • getPort

        public int getPort()
        Specified by:
        getPort in class com.lordofthejars.nosqlunit.core.AbstractLifecycleManager
      • doStart

        public void doStart()
                     throws java.lang.Throwable
        Specified by:
        doStart in class com.lordofthejars.nosqlunit.core.AbstractLifecycleManager
        Throws:
        java.lang.Throwable
      • doStop

        public void doStop()
        Specified by:
        doStop in class com.lordofthejars.nosqlunit.core.AbstractLifecycleManager
      • setTargetPath

        public void setTargetPath​(java.lang.String targetPath)
      • getTargetPath

        public java.lang.String getTargetPath()