de.flapdoodle.embed.mongo
Class MongodStarter

java.lang.Object
  extended by de.flapdoodle.embed.process.runtime.Starter<MongodConfig,MongodExecutable,MongodProcess>
      extended by de.flapdoodle.embed.mongo.MongodStarter

public class MongodStarter
extends de.flapdoodle.embed.process.runtime.Starter<MongodConfig,MongodExecutable,MongodProcess>


Method Summary
protected  boolean checkDistribution(de.flapdoodle.embed.process.distribution.Distribution distribution)
           
protected  File extractExe(de.flapdoodle.embed.process.distribution.Distribution distribution)
           
static MongodStarter getDefaultInstance()
           
static MongodStarter getInstance(de.flapdoodle.embed.process.config.IRuntimeConfig config)
           
protected  MongodExecutable newExecutable(MongodConfig mongodConfig, de.flapdoodle.embed.process.distribution.Distribution distribution, de.flapdoodle.embed.process.config.IRuntimeConfig runtime, File mongodExe)
           
 
Methods inherited from class de.flapdoodle.embed.process.runtime.Starter
prepare
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static MongodStarter getInstance(de.flapdoodle.embed.process.config.IRuntimeConfig config)

getDefaultInstance

public static MongodStarter getDefaultInstance()

checkDistribution

protected boolean checkDistribution(de.flapdoodle.embed.process.distribution.Distribution distribution)
                             throws IOException
Overrides:
checkDistribution in class de.flapdoodle.embed.process.runtime.Starter<MongodConfig,MongodExecutable,MongodProcess>
Throws:
IOException

extractExe

protected File extractExe(de.flapdoodle.embed.process.distribution.Distribution distribution)
                   throws IOException
Overrides:
extractExe in class de.flapdoodle.embed.process.runtime.Starter<MongodConfig,MongodExecutable,MongodProcess>
Throws:
IOException

newExecutable

protected MongodExecutable newExecutable(MongodConfig mongodConfig,
                                         de.flapdoodle.embed.process.distribution.Distribution distribution,
                                         de.flapdoodle.embed.process.config.IRuntimeConfig runtime,
                                         File mongodExe)
Specified by:
newExecutable in class de.flapdoodle.embed.process.runtime.Starter<MongodConfig,MongodExecutable,MongodProcess>


Copyright © 2012. All Rights Reserved.