org.rhq.enterprise.gui.navigation.contextmenu
Class MetricMenuItemDescriptor

java.lang.Object
  extended by org.rhq.enterprise.gui.navigation.contextmenu.MenuItemDescriptor
      extended by org.rhq.enterprise.gui.navigation.contextmenu.MetricMenuItemDescriptor

public class MetricMenuItemDescriptor
extends MenuItemDescriptor

This class provides data for rendering a metric menu item in the nav tree context menu.

Author:
Lukas Krejci

Constructor Summary
MetricMenuItemDescriptor()
           
 
Method Summary
 String getMetricToken()
          The metric tokens are used to identify the metric chart when adding such chart to the indicators chart on the monitoring page.
 void setMetricToken(String metricToken)
           
 
Methods inherited from class org.rhq.enterprise.gui.navigation.contextmenu.MenuItemDescriptor
getMenuItemId, getName, getUrl, setMenuItemId, setName, setUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetricMenuItemDescriptor

public MetricMenuItemDescriptor()
Method Detail

getMetricToken

public String getMetricToken()
The metric tokens are used to identify the metric chart when adding such chart to the indicators chart on the monitoring page. The tokens have the following format (without the quotes): for resource: ',' for compatgroups: 'cg,,' for autogroups: 'ag,,,'

Returns:
the token for the this menu item

setMetricToken

public void setMetricToken(String metricToken)


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.