|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zeroturnaround.process.Processes
public class Processes
Creates SystemProcess instances.
| Constructor Summary | |
|---|---|
Processes()
|
|
| Method Summary | |
|---|---|
static JavaProcess |
newJavaProcess(Process process)
Creates instance that represents given Process object. |
static PidProcess |
newPidProcess(int pid)
Creates instance that represent the given PID value and use external tools for the operations. |
static PidProcess |
newPidProcess(Process process)
Creates instance that represents PID value of the given Process and use external tools for the operations. |
static SystemProcess |
newProcessForMultiple(SystemProcess... processes)
Combines existing SystemProcess objects for multiple processes. |
static SystemProcess |
newProcessWithAtlernatives(SystemProcess... processes)
Combines existing SystemProcess objects as alternative implementations for a single process. |
static SystemProcess |
newStandardProcess(Process process)
Creates instance that represents the given Process by detecting its PID and
using both Process object and the PID with external tools. |
static SystemProcess |
newStandardProcess(Process process,
int pid)
Creates instance that represents the given Process or the given PID. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Processes()
| Method Detail |
|---|
public static SystemProcess newStandardProcess(Process process)
Process by detecting its PID and
using both Process object and the PID with external tools.
Java APIs are tried before using the external tools.
public static SystemProcess newStandardProcess(Process process,
int pid)
Process or the given PID.
They are expected to belong to the same system process.
Java APIs are tried before using the external tools (PID value).
public static JavaProcess newJavaProcess(Process process)
Process object.
public static PidProcess newPidProcess(Process process)
Process and use external tools for the operations.
public static PidProcess newPidProcess(int pid)
public static SystemProcess newProcessWithAtlernatives(SystemProcess... processes)
SystemProcess objects as alternative implementations for a single process.
public static SystemProcess newProcessForMultiple(SystemProcess... processes)
SystemProcess objects for multiple processes.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||