|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.pmease.quickbuild.execution.killtree.ProcessTree.OSProcess
com.pmease.quickbuild.execution.killtree.ProcessTree.UnixProcess
public abstract class ProcessTree.UnixProcess
A process.
Constructor Summary | |
---|---|
protected |
ProcessTree.UnixProcess(int pid)
|
Method Summary | |
---|---|
protected java.io.File |
getFile(java.lang.String relativePath)
|
void |
kill(boolean forcibly)
Tries to kill this process. |
void |
killRecursively(boolean forcibly)
Kills this process and all the descendants. |
Methods inherited from class com.pmease.quickbuild.execution.killtree.ProcessTree.OSProcess |
---|
getArguments, getChildren, getEnvironmentVariables, getParent, getPid, hasMatchingEnvVars |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected ProcessTree.UnixProcess(int pid)
Method Detail |
---|
protected final java.io.File getFile(java.lang.String relativePath)
public void kill(boolean forcibly) throws java.lang.InterruptedException
kill
in interface ProcessTreeRemoting.IOSProcess
kill
in class ProcessTree.OSProcess
java.lang.InterruptedException
public void killRecursively(boolean forcibly) throws java.lang.InterruptedException
ProcessTree.OSProcess
Note that the notion of "descendants" is somewhat vague, in the presence of such things like daemons. On platforms where the recursive operation is not supported, this just kills the current process.
killRecursively
in interface ProcessTreeRemoting.IOSProcess
killRecursively
in class ProcessTree.OSProcess
java.lang.InterruptedException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |