@Override public Object[] getElements(Object inputElement) { if (inputElement instanceof BootDashElement) { BootDashElement el = (BootDashElement) inputElement; List<RequestMapping> elements = el.getLiveRequestMappings(); if (elements != null) { return elements.toArray(); } else { // null means we couldn't determine the request mappings. return new Object[] { "'" + el.getName() + "' must be running...", "and the actuator 'mappings' ...", "endpoint must be enabled ...", "to obtain request mappings.", }; } } return NO_ELEMENTS; }