String (RunDashboardGroup group) { if (group instanceof RunDashboardGroupImpl) { Object value = ((RunDashboardGroupImpl<?>)group).getValue(); if (value instanceof ConfigurationType) { return ((ConfigurationType)value).getId(); } } return group.getName(); }