org.zeroturnaround.process
Class PidProcess
java.lang.Object
org.zeroturnaround.process.AbstractProcess
org.zeroturnaround.process.PollingProcess
org.zeroturnaround.process.PidProcess
- All Implemented Interfaces:
- SystemProcess
- Direct Known Subclasses:
- UnixProcess, WindowsProcess
public abstract class PidProcess
- extends PollingProcess
Base killer implementation for PID (Process ID) values.
|
Field Summary |
protected int |
pid
The process ID. |
|
Method Summary |
String |
getDescription()
Returns the description of the system process represented. |
int |
getPid()
Returns the process ID. |
pid
protected final int pid
- The process ID.
PidProcess
public PidProcess(int pid)
getPid
public int getPid()
- Returns the process ID.
- Returns:
- the process ID.
getDescription
public String getDescription()
- Description copied from class:
AbstractProcess
- Returns the description of the system process represented.
- Specified by:
getDescription in class AbstractProcess
- Returns:
- the description of the system process represented.
Copyright © 2015 ZeroTurnaround. All rights reserved.