org.rhq.core.pluginapi.inventory
Class ProcessScanResult
java.lang.Object
   org.rhq.core.pluginapi.inventory.ProcessScanResult
org.rhq.core.pluginapi.inventory.ProcessScanResult
- public class ProcessScanResult 
- extends Object
An individual result from a process scan which includes information on the process that matched and the
 ProcessScan itself.
 
 
 
ProcessScanResult
public ProcessScanResult(ProcessScan scan,
                         ProcessInfo info)
getProcessInfo
public ProcessInfo getProcessInfo()
- Represents the operating system process that matched the process scan's query. This
 provides information such as the process name and its command line arguments.
 
- 
- Returns:
- matched process' information
 
getProcessScan
public ProcessScan getProcessScan()
- Returns information on the process scan, such as the query that was used to match the
 processand the process scan's name, if one was provided.
 
- 
- Returns:
- process scan information
 
toString
public String toString()
- 
- Overrides:
- toStringin class- Object
 
- 
 
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.