|
Hyperic HQ Plugin API v. 5.8.0 | |||||||||
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(Object obj)
|
MeasurementInfo |
getMeasurement(String name)
|
Set |
getMeasurementNames()
|
Set |
getMeasurements()
|
int |
hashCode()
|
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 org.hyperic.util.config.EncodingException, org.hyperic.util.config.InvalidOptionException, org.hyperic.util.config.InvalidOptionValueException
MeasurementInfos
from a byte array
data
- The byte array
MeasurementInfos
org.hyperic.util.config.EncodingException
org.hyperic.util.config.InvalidOptionException
org.hyperic.util.config.InvalidOptionValueException
public void addMeasurementInfo(MeasurementInfo measurement)
measurement
- The measurement to addpublic byte[] encode() throws org.hyperic.util.config.EncodingException
MeasurementInfo
s
org.hyperic.util.config.EncodingException
public boolean equals(Object obj)
equals
in class Object
public Set getMeasurementNames()
public MeasurementInfo getMeasurement(String name)
public Set getMeasurements()
MeasurementInfo
s in this collectionpublic int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
|
Hyperic HQ Plugin API v. 5.8.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |