public class ProcessWait
extends java.lang.Object
implements java.lang.Runnable
Constructor and Description |
---|
ProcessWait(java.lang.Process tmpProc) |
Modifier and Type | Method and Description |
---|---|
int |
exitValue()
Used to get the exit value of the process.
|
boolean |
hasProcessFinished()
This method is used to poll the thread for the termination status of a
running process it was passed at creation.
|
void |
run()
Use this method to start the thread.
|
public boolean hasProcessFinished()
public int exitValue()
public void run()
run
in interface java.lang.Runnable