public abstract class PsBasedProcessTree extends Object
Constructor and Description |
---|
PsBasedProcessTree() |
Modifier and Type | Method and Description |
---|---|
void |
addProcess(String psLine) |
PsProcess |
createFromString(String psLine) |
abstract PsBasedProcessTree |
createProcessTreeFor(String user) |
PsProcess |
getByPid(int pid) |
PrintStream |
getLog() |
List<PsProcess> |
getProcessList() |
boolean |
isSystemProcessesFilterOff() |
void |
setLog(PrintStream log) |
void |
setSystemProcessesFilterOff(boolean systemProcessesFilterOff) |
String |
toString() |
public PrintStream getLog()
public void setLog(PrintStream log)
public boolean isSystemProcessesFilterOff()
public void setSystemProcessesFilterOff(boolean systemProcessesFilterOff)
public void addProcess(String psLine)
public PsProcess getByPid(int pid)
@CheckForNull public abstract PsBasedProcessTree createProcessTreeFor(String user) throws InterruptedException, IOException
InterruptedException
IOException
Copyright © 2016–2021. All rights reserved.