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