de.flapdoodle.embedmongo.runtime
Class ProcessControl

java.lang.Object
  extended by de.flapdoodle.embedmongo.runtime.ProcessControl

public class ProcessControl
extends Object


Constructor Summary
ProcessControl(Process process)
           
 
Method Summary
static boolean executeCommandLine(List<String> commandLine)
           
static ProcessControl fromCommandLine(List<String> commandLine)
           
 Reader getReader()
           
static boolean killProcess(Platform platform, int pid)
           
 int stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessControl

public ProcessControl(Process process)
Method Detail

getReader

public Reader getReader()

stop

public int stop()

fromCommandLine

public static ProcessControl fromCommandLine(List<String> commandLine)
                                      throws IOException
Throws:
IOException

executeCommandLine

public static boolean executeCommandLine(List<String> commandLine)

killProcess

public static boolean killProcess(Platform platform,
                                  int pid)


Copyright © 2012. All Rights Reserved.