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 ProcessControl fromCommandLine(List<String> commandLine)
           
 Reader getReader()
           
 void stop()
           
 int waitFor()
           
 
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 void stop()

waitFor

public int waitFor()
            throws InterruptedException
Throws:
InterruptedException

fromCommandLine

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


Copyright © 2012. All Rights Reserved.