6.1

Table Of Contents
Parameter Description
config
The resource custom properties.
getCustomProperties
getCustomProperties():ConfigResponse
public ConfigResponse getCustomProperties()
This method returns custom properties for the resource. These are the
resource attributes that are defined using the <property> elements in the
plug-in descriptor.
ServiceResource Class
The ServiceResource class is used to store information for newly discovered services during the
autodiscovery methods. This class contains everything that is included in a runtime autoinventory report.
Class Hierarchy
java.lang.Object
org.hyperic.hq.product.ServiceResource
Implementing Methods
This class implements the following method.
setName
setName(String):void
public void setName(String name)
This method sets the resource name.
Parameter Description
name
The name of the resource.
ConfigResponse Class
The ConfigResponse class is used throughout Endpoint Operations Management source code to store and
transfer configuration data. From an end user perspective this class acts as a key/value storage. Usually you
use this class to add configuration properties to new resources created during auto discovery methods.
Class Hierarchy
java.lang.Object
org.hyperic.util.config.ConfigResponse
Implementing Methods
This class implements the following methods.
setValue
setValue(String, String):void
public void setValue(String key, String value)
throws InvalidOptionException, InvalidOptionValueException;
Set the value for an option.
Endpoint Operations Management Agent Plug-in Development Kit
72 VMware, Inc.