|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.monitor.api.TWGMonAttribute
This is the TWGMonAttribute class. This is a class for managing the information associated with an attribute being used through the Monitor API class, TWGMonAPI.
Constructor Summary | |
---|---|
TWGMonAttribute(com.tivoli.twg.monitor.api.TWGMonDataHolder data,
TWGMonPath progPath,
TWGMonPath dispPath,
long moid,
long handle)
This is the constructor for building the Attribute |
Method Summary | |
---|---|
void |
deregisterUpdateListener(TWGMonAttributeUpdateListener listener)
deregisters a listener with the object. |
java.lang.String |
getDataAsString()
gets the current value of the attribute in the form of a formated unicode string |
boolean |
hasThresholdAlert()
returns a flag indicating if the attribute is in alert state |
boolean |
hasThresholdSet()
returns a flag indicating if the attribute has a threshold applied |
boolean |
hasValidData()
returns a flag indicating if the attribute has a valid data point |
void |
registerUpdateListener(TWGMonAttributeUpdateListener listener)
registers a listener with the attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TWGMonAttribute(com.tivoli.twg.monitor.api.TWGMonDataHolder data, TWGMonPath progPath, TWGMonPath dispPath, long moid, long handle)
Method Detail |
public void registerUpdateListener(TWGMonAttributeUpdateListener listener)
listener
- the object to be called back when the data for this object is updatedTWGMonAttributeUpdateListener
public void deregisterUpdateListener(TWGMonAttributeUpdateListener listener)
listener
- the object to no longer call on data updatesTWGMonAttributeUpdateListener
public boolean hasValidData()
public java.lang.String getDataAsString()
public boolean hasThresholdSet()
public boolean hasThresholdAlert()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |