Package com.install4j.api
Class ProcessInfo
java.lang.Object
com.install4j.api.ProcessInfo
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MacProcesses.Info
,WinProcesses.Info
Represents a running process on Windows and macOS.
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
ProcessInfo
(int processId, String moduleName) Called by implementations. -
Method Summary
-
Constructor Details
-
ProcessInfo
Called by implementations.
-
-
Method Details
-
getModuleName
Retrieves the full executable path of the process.- Returns:
- the executable path
-
getProcessId
public int getProcessId()Retrieves the process id.- Returns:
- the process id
-
getWindowTitle
Get the title of one of the visible top-level windows of this process.- Returns:
- the title
-
toString
-
equals
-
hashCode
public int hashCode()
-