public class MongoRestoreProcess extends AbstractMongoProcess<IMongoRestoreConfig,MongoRestoreExecutable,MongoRestoreProcess>
| Constructor and Description |
|---|
MongoRestoreProcess(de.flapdoodle.embed.process.distribution.Distribution distribution,
IMongoRestoreConfig config,
de.flapdoodle.embed.process.config.IRuntimeConfig runtimeConfig,
MongoRestoreExecutable mongosExecutable) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<java.lang.String> |
getCommandLine(de.flapdoodle.embed.process.distribution.Distribution distribution,
IMongoRestoreConfig config,
de.flapdoodle.embed.process.extract.IExtractedFileSet files) |
void |
stopInternal() |
protected java.lang.String |
successMessage() |
cleanupInternal, deleteTempFiles, onAfterProcessStart, sendStopToMongoInstancegetConfig, getEnvironment, getPidFromFile, getProcessId, isProcessRunning, isRegisteredJobKiller, onAfterProcessStop, onBeforeProcess, onBeforeProcessStart, pidFile, pidFile, sendKillToProcess, sendTermToProcess, setProcessId, stop, stopProcess, tryKillToProcess, waitFor, writePidFilepublic MongoRestoreProcess(de.flapdoodle.embed.process.distribution.Distribution distribution,
IMongoRestoreConfig config,
de.flapdoodle.embed.process.config.IRuntimeConfig runtimeConfig,
MongoRestoreExecutable mongosExecutable)
throws java.io.IOException
java.io.IOExceptionprotected java.util.List<java.lang.String> getCommandLine(de.flapdoodle.embed.process.distribution.Distribution distribution,
IMongoRestoreConfig config,
de.flapdoodle.embed.process.extract.IExtractedFileSet files)
throws java.io.IOException
getCommandLine in class de.flapdoodle.embed.process.runtime.AbstractProcess<IMongoRestoreConfig,MongoRestoreExecutable,MongoRestoreProcess>java.io.IOExceptionprotected java.lang.String successMessage()
successMessage in class AbstractMongoProcess<IMongoRestoreConfig,MongoRestoreExecutable,MongoRestoreProcess>public void stopInternal()
stopInternal in class AbstractMongoProcess<IMongoRestoreConfig,MongoRestoreExecutable,MongoRestoreProcess>Copyright © 2018. All Rights Reserved.