org.rhq.core.domain.resource
Class ProcessScan

java.lang.Object
  extended by org.rhq.core.domain.resource.ProcessScan
All Implemented Interfaces:
Serializable

public class ProcessScan
extends Object
implements Serializable

Describes a process scan query that can be used to auto-discover resources of a particular ResourceType.

See Also:
Serialized Form

Constructor Summary
protected ProcessScan()
           
  ProcessScan(String query, String name)
           
 
Method Summary
 boolean equals(Object obj)
          Two process scans are equal if they have the same query
 int getId()
           
 String getName()
           
 String getQuery()
           
 int hashCode()
           
 void setId(int id)
           
 void setName(String name)
           
 void setQuery(String query)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ProcessScan

protected ProcessScan()

ProcessScan

public ProcessScan(String query,
                   String name)
Method Detail

getId

public int getId()

setId

public void setId(int id)

getQuery

public String getQuery()

setQuery

public void setQuery(String query)

getName

public String getName()

setName

public void setName(String name)

equals

public boolean equals(Object obj)
Two process scans are equal if they have the same query

Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.