org.rhq.core.domain.resource.composite
Class ResourceHealthComposite

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

public class ResourceHealthComposite
extends Object
implements Serializable

Composite object meant to be used to by the favorites portlet display showing resource information about its health (its availability and number of alerts it has triggered).

See Also:
Serialized Form

Constructor Summary
ResourceHealthComposite(int id, String name, String typeName, AvailabilityType availabilityType, long alerts)
           
 
Method Summary
 long getAlerts()
           
 AvailabilityType getAvailabilityType()
           
 int getId()
           
 String getName()
           
 String getTypeName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceHealthComposite

public ResourceHealthComposite(int id,
                               String name,
                               String typeName,
                               AvailabilityType availabilityType,
                               long alerts)
Method Detail

getId

public int getId()

getName

public String getName()

getTypeName

public String getTypeName()

getAvailabilityType

public AvailabilityType getAvailabilityType()

getAlerts

public long getAlerts()


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