de.flapdoodle.embed.mongo
Class MongodProcess

java.lang.Object
  extended by de.flapdoodle.embed.process.runtime.AbstractProcess<T,E,P>
      extended by de.flapdoodle.embed.mongo.AbstractMongoProcess<MongodConfig,MongodExecutable,MongodProcess>
          extended by de.flapdoodle.embed.mongo.MongodProcess
All Implemented Interfaces:
de.flapdoodle.embed.process.runtime.IStopable

public class MongodProcess
extends AbstractMongoProcess<MongodConfig,MongodExecutable,MongodProcess>


Field Summary
 
Fields inherited from class de.flapdoodle.embed.process.runtime.AbstractProcess
TIMEOUT
 
Constructor Summary
MongodProcess(de.flapdoodle.embed.process.distribution.Distribution distribution, MongodConfig config, de.flapdoodle.embed.process.config.IRuntimeConfig runtimeConfig, MongodExecutable mongodExecutable)
           
 
Method Summary
protected  void deleteTempFiles()
           
protected  List<String> getCommandLine(de.flapdoodle.embed.process.distribution.Distribution distribution, MongodConfig config, File exe)
           
protected  void onBeforeProcess(de.flapdoodle.embed.process.config.IRuntimeConfig runtimeConfig)
           
protected  de.flapdoodle.embed.process.config.ISupportConfig supportConfig()
           
 
Methods inherited from class de.flapdoodle.embed.mongo.AbstractMongoProcess
onAfterProcessStart, sendStopToMongoInstance, stop
 
Methods inherited from class de.flapdoodle.embed.process.runtime.AbstractProcess
getConfig, onBeforeProcessStart, sendKillToProcess, setProcessId, stopProcess, tryKillToProcess, waitFor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MongodProcess

public MongodProcess(de.flapdoodle.embed.process.distribution.Distribution distribution,
                     MongodConfig config,
                     de.flapdoodle.embed.process.config.IRuntimeConfig runtimeConfig,
                     MongodExecutable mongodExecutable)
              throws IOException
Throws:
IOException
Method Detail

onBeforeProcess

protected void onBeforeProcess(de.flapdoodle.embed.process.config.IRuntimeConfig runtimeConfig)
                        throws IOException
Overrides:
onBeforeProcess in class de.flapdoodle.embed.process.runtime.AbstractProcess<MongodConfig,MongodExecutable,MongodProcess>
Throws:
IOException

supportConfig

protected de.flapdoodle.embed.process.config.ISupportConfig supportConfig()
Specified by:
supportConfig in class de.flapdoodle.embed.process.runtime.AbstractProcess<MongodConfig,MongodExecutable,MongodProcess>

getCommandLine

protected List<String> getCommandLine(de.flapdoodle.embed.process.distribution.Distribution distribution,
                                      MongodConfig config,
                                      File exe)
                               throws IOException
Specified by:
getCommandLine in class de.flapdoodle.embed.process.runtime.AbstractProcess<MongodConfig,MongodExecutable,MongodProcess>
Throws:
IOException

deleteTempFiles

protected void deleteTempFiles()
Overrides:
deleteTempFiles in class AbstractMongoProcess<MongodConfig,MongodExecutable,MongodProcess>


Copyright © 2012. All Rights Reserved.