org.rhq.core.system
Class ServiceInfo
java.lang.Object
org.rhq.core.system.ServiceInfo
public class ServiceInfo
- extends Object
Encapsulates information about a known service.
ServiceInfo
public ServiceInfo(String name,
String displayName,
String description,
String binaryPath,
String[] dependencies)
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 RHQ Project Advisory Board (Red Hat, Inc. and Hyperic, Inc.). All Rights Reserved.