return Collections.singletonList(currentResourceGroup.getName());
}
@Override
protected QuickLinksDescriptor getMenuQuickLinks() {
QuickLinksDescriptor descriptor = new QuickLinksDescriptor();
descriptor.setMenuItemId("menu_groupQuickLinks_" + currentResourceGroup.getId());
String attributes = "groupId=" + currentResourceGroup.getId();
if (currentParentResourceGroupId != null) {
attributes += "&parentGroupId=" + currentParentResourceGroupId;
}
descriptor.setMonitoringUrl("/rhq/group/monitor/graphs.xhtml?" + attributes);
descriptor.setInventoryUrl("/rhq/group/inventory/view.xhtml?" + attributes);
descriptor.setAlertsUrl("/rhq/group/alert/listGroupAlertDefinitions.xhtml?" + attributes);
descriptor.setConfigurationUrl("/rhq/group/configuration/viewCurrent.xhtml?" + attributes);
descriptor.setOperationUrl("/rhq/group/operation/groupOperationScheduleNew.xhtml?" + attributes);
descriptor.setEventUrl("/rhq/group/events/history.xhtml?" + attributes);
return descriptor;
}