org.rhq.core.pluginapi.inventory
Class ProcessScanResult

java.lang.Object
  extended by 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.


Constructor Summary
ProcessScanResult(ProcessScan scan, ProcessInfo info)
           
 
Method Summary
 ProcessInfo getProcessInfo()
          Represents the operating system process that matched the process scan's query.
 ProcessScan getProcessScan()
          Returns information on the process scan, such as the query that was used to match the process and the process scan's name, if one was provided.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessScanResult

public ProcessScanResult(ProcessScan scan,
                         ProcessInfo info)
Method Detail

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 process and the process scan's name, if one was provided.

Returns:
process scan information

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2009 RHQ Project Advisory Board (Red Hat, Inc.). All Rights Reserved.