de.flapdoodle.embed.mongo
Class MongodProcess
java.lang.Object
de.flapdoodle.embed.process.runtime.AbstractProcess<T,E,P>
de.flapdoodle.embed.mongo.AbstractMongoProcess<MongodConfig,MongodExecutable,MongodProcess>
de.flapdoodle.embed.mongo.MongodProcess
- All Implemented Interfaces:
- de.flapdoodle.embed.process.runtime.IStopable
public class MongodProcess
- extends AbstractMongoProcess<MongodConfig,MongodExecutable,MongodProcess>
| 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)
|
| 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 |
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
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.