6.1

Table Of Contents
n
SNMPMeasurementPlugin Class on page 66
Use the SNMPMeasurementPlugin class to collect metrics from SNMP devices.
n
Win32MeasurementPlugin Class on page 66
Use the Win32MeasurementPlugin class to collect metrics from Windows service objects.
MeasurementPlugin Class
The MeasurementPlugin class is a base implementation for measurement operations.
Class Hierarchy
java.lang.Object
org.hyperic.hq.product.GenericPlugin
org.hyperic.hq.product.MeasurementPlugin
Implementing Methods
This class implements the following methods.
init
init(PluginManager):void
public void init(PluginManager manager)
Table 41.
Parameter Description
manager
The plug-in manager.
getManager
getManager():MeasurementPluginManager
protected MeasurementPluginManager getManager()
getMeasurementPropertie
s
getMeasurementProperties():Map
protected Map getMeasurementProperties()
getMeasurements
getMeasurements(TypeInfo):MeasurementInfo[]
public MeasurementInfo getMeasurements(TypeInfo info)
getPlatformHelpProperti
es
getPlatformHelpProperties():String[][]
protected String getPlatformHelpProperties()
getPluginXMLHelp
getPluginXMLHelp(TypeInfo, String, Map):String
protected String getPluginXMLHelp(TypeInfo info, String name, Map
props)
getHelp
getHelp(TypeInfo, Map):String
public String getHelp(TypeInfo info, Map props)
getValue
getValue(Metric):MetricValue
public MetricValue getValue(Metric metric)
getNewCollector
getNewCollector():Collector
public Collector getNewCollector()
getCollectorProperties
getCollectorProperties(Metric):Properties
public Properties getCollectorProperties(Metric metric)
Chapter 4 Plug-In Support Classes
VMware, Inc. 65