6.1

Table Of Contents
getProductConfig
getProductConfig():ConfigResponse
public ConfigResponse getProductConfig()
This method returns the shared configuration properties for the resource.
setMeasurementConfig
setMeasurementConfig(ConfigResponse):void
public void setMeasurementConfig(ConfigResponse config)
This method sets the monitoring configuration properties for the resource.
The configuration is passed as a ConfigResponse object.
Parameter Description
description
The description of the resource.
setMeasurementConfig(Map):void
public void setMeasurementConfig(Map config)
This function sets the monitoring configuration properties for the resource.
The configuration is passed as a Map object. Internally, ConfigResponse uses
Map to store its keys and values.
Parameter Description
config
The map of the resource measurement configuration.
setMeasurementConfig():void
public void setMeasurementConfig()
This function sets and initializes an empty measurement configuration.
setMeasurementConfig(ConfigResponse, int, boolean):void
public void setMeasurementConfig(ConfigResponse config,
int logTrackLevel,
boolean enableConfigTrack)
This function sets the monitoring configuration properties for the resource.
The configuration is passed as a Map object. Internally, ConfigResponse uses
Map to store its keys and values.
This function can be used to enable log and configuration tracking at the
same time. LogTrackPlugin defines the following log levels.
public static final int LOGLEVEL_ANY = -1;
public static final int LOGLEVEL_ERROR = 3;
public static final int LOGLEVEL_WARN = 4;
public static final int LOGLEVEL_INFO = 6;
public static final int LOGLEVEL_DEBUG = 7;
Parameter Description
config
The resource measurement configuration.
logTrackLevel
The log tracking level in internal type of int.
enableConfigTrack Enables config tracking if TRUE otherwise, use FALSE.
Endpoint Operations Management Agent Plug-in Development Kit
70 VMware, Inc.