|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.util.ProcessTree.OSProcess
hudson.util.ProcessTree.UnixProcess
public abstract class ProcessTree.UnixProcess
A process.
| Constructor Summary | |
|---|---|
protected |
ProcessTree.UnixProcess(int pid)
|
| Method Summary | |
|---|---|
abstract List<String> |
getArguments()
Obtains the argument list of this process. |
protected File |
getFile(String relativePath)
|
void |
kill()
Tries to kill this process. |
void |
killRecursively()
Kills this process and all the descendants. |
| Methods inherited from class hudson.util.ProcessTree.OSProcess |
|---|
act, 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 File getFile(String relativePath)
public void kill()
throws InterruptedException
kill in interface ProcessTreeRemoting.IOSProcesskill in class ProcessTree.OSProcessInterruptedException
public void killRecursively()
throws InterruptedException
ProcessTree.OSProcessNote 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.IOSProcesskillRecursively in class ProcessTree.OSProcessInterruptedExceptionpublic abstract List<String> getArguments()
getArguments in interface ProcessTreeRemoting.IOSProcessgetArguments in class ProcessTree.OSProcess
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||