org.rhq.core.domain.measurement
Class MeasurementDataRequest

java.lang.Object
  extended by org.rhq.core.domain.measurement.MeasurementDataRequest
All Implemented Interfaces:
Serializable

public class MeasurementDataRequest
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
MeasurementDataRequest(MeasurementDefinition definition)
           
MeasurementDataRequest(String metricName, DataType type)
           
 
Method Summary
 boolean equals(Object obj)
           
 String getName()
           
 DataType getType()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MeasurementDataRequest

public MeasurementDataRequest(MeasurementDefinition definition)

MeasurementDataRequest

public MeasurementDataRequest(String metricName,
                              DataType type)
Method Detail

getName

public String getName()
Returns:
The requested measurement's name

getType

public DataType getType()
Returns:
The requested measurement's data type

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


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