|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hyperic.hq.product.MeasurementInfos
public class MeasurementInfos
A collection of MeasurementInfo
s
Constructor Summary | |
---|---|
MeasurementInfos()
|
Method Summary | |
---|---|
void |
addMeasurementInfo(MeasurementInfo measurement)
Adds a measurement to the collection |
static MeasurementInfos |
decode(byte[] data)
Constructs a MeasurementInfos from a byte array |
byte[] |
encode()
Constructs a byte array from this collection of MeasurementInfo s |
boolean |
equals(java.lang.Object obj)
|
MeasurementInfo |
getMeasurement(java.lang.String name)
|
java.util.Set |
getMeasurementNames()
|
java.util.Set |
getMeasurements()
|
int |
hashCode()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MeasurementInfos()
Method Detail |
---|
public static MeasurementInfos decode(byte[] data) throws EncodingException, InvalidOptionException, InvalidOptionValueException
MeasurementInfos
from a byte array
data
- The byte array
MeasurementInfos
EncodingException
InvalidOptionException
InvalidOptionValueException
public void addMeasurementInfo(MeasurementInfo measurement)
measurement
- The measurement to addpublic byte[] encode() throws EncodingException
MeasurementInfo
s
EncodingException
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.util.Set getMeasurementNames()
public MeasurementInfo getMeasurement(java.lang.String name)
public java.util.Set getMeasurements()
MeasurementInfo
s in this collectionpublic int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
Hyperic HQ Plugin API v. 4.4.0.2 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |