|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glite.ce.monitorapij.sensor.SensorOutputDataFormat
This class contains the specifications of the output response.
Each Sensor must specify its supported output format extending this class.
It is also used by CEMonitor
to format its output as desired.
Constructor Summary | |
SensorOutputDataFormat(java.lang.String name)
Basic constructor specifying just the name of this output format. |
|
SensorOutputDataFormat(java.lang.String name,
java.lang.String[] queryLang)
Contruct a SensorOutputDataFormat specifying its name and an array of the names of supported query languages. |
Method Summary | |
abstract java.lang.String[] |
apply(java.util.Hashtable parameters)
Apply this format to an output message specifying a set of parameters to consider. |
java.lang.String |
getName()
Get the name of the SensorOutputDataFormat . |
java.lang.String[] |
getSupportedQueryLang()
|
boolean |
isSupportedQueryLang(java.lang.String queryLang)
Check if specified query language is supported by this SensorOutputDataFormat . |
void |
setSupportedQueryLang(java.lang.String[] queryLangs)
Set the query languages supported by this output format. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SensorOutputDataFormat(java.lang.String name)
name
- The name of this output format.public SensorOutputDataFormat(java.lang.String name, java.lang.String[] queryLang)
name
- The name of this output format.queryLang
- An array of String specifying the names of supported query languages.Method Detail |
public java.lang.String getName()
SensorOutputDataFormat
.
SensorOutputDataFormat
.public void setSupportedQueryLang(java.lang.String[] queryLangs)
queryLangs
- An array of String specifying the names of supported query languages.public java.lang.String[] getSupportedQueryLang()
public boolean isSupportedQueryLang(java.lang.String queryLang)
SensorOutputDataFormat
.
queryLang
- The query language name.
public abstract java.lang.String[] apply(java.util.Hashtable parameters) throws java.lang.Exception
parameters
- A set of parameters to be considered while applying this format.
java.lang.Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |