org.rhq.core.system
Class ServiceInfo

java.lang.Object
  extended by org.rhq.core.system.ServiceInfo

public class ServiceInfo
extends Object

Encapsulates information about a known service.


Constructor Summary
ServiceInfo(String name, String displayName, String description, String binaryPath, String[] dependencies)
           
 
Method Summary
 boolean equals(Object obj)
          Two ServiceInfo objects are equal if their names are the same.
 String getBinaryPath()
           
 String[] getDependencies()
           
 String getDescription()
           
 String getDisplayName()
           
 String getName()
           
 int hashCode()
          A service's name makes it unique.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceInfo

public ServiceInfo(String name,
                   String displayName,
                   String description,
                   String binaryPath,
                   String[] dependencies)
Method Detail

getName

public String getName()

getDisplayName

public String getDisplayName()

getDescription

public String getDescription()

getBinaryPath

public String getBinaryPath()

getDependencies

public String[] getDependencies()

hashCode

public int hashCode()
A service's name makes it unique.

Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)
Two ServiceInfo objects are equal if their names are the same.

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

toString

public String toString()
Overrides:
toString in class Object


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