|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.testqa.monitoringclient.Data
public class Data
The classe Data represent an attribute monitored by a producer.
| Constructor Summary | |
|---|---|
Data(java.lang.String attribute,
java.util.Properties parameters)
Create a data without value and timer. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAttribute()
Return the name of the attribute monitored. |
java.util.Properties |
getParameters()
Return the parameters of the data. |
java.lang.String |
getProtocol()
Return the name of the protocol used to retrieve the data. |
int |
getTimer()
Return the timer of the data. |
java.lang.String |
getValue()
Return the value of the attribute monitored. |
boolean |
hasEmptyValue()
Test if the data has no value. |
boolean |
isProtocol(java.lang.String protocol)
Test is the specified protocol is the protocol of the data. |
void |
reset()
Reset a data. |
void |
setTimer(int timer)
Set the timer of the data. |
void |
setValue(java.lang.String value)
Sets the value of the attribute monitored. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Data(java.lang.String attribute,
java.util.Properties parameters)
attribute - the name of the attibute monitored.parameters - the parameters to monitor the attribute.| Method Detail |
|---|
public void reset()
public java.lang.String getAttribute()
public java.util.Properties getParameters()
public java.lang.String getProtocol()
public boolean isProtocol(java.lang.String protocol)
protocol - Name of the protocol.
public java.lang.String getValue()
public void setValue(java.lang.String value)
value - The value of the attribute monitored.public boolean hasEmptyValue()
public int getTimer()
public void setTimer(int timer)
timer - Number of milliseconds beetween the launch of the request and
the creation of the data.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||