org.rhq.enterprise.gui.navigation.contextmenu
Class MetricMenuItemDescriptor
java.lang.Object
org.rhq.enterprise.gui.navigation.contextmenu.MenuItemDescriptor
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
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetricMenuItemDescriptor
public MetricMenuItemDescriptor()
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.