@Override public String getLabel() { String hash = getHash(); String label = hash; Map<String, String> labels = configServer.getLabels(); if (labels != null) { String l = labels.get(hash); if (!StringUtil.isEmpty(l)) { label = l; } } return label; }
public Map<String, String> getAllLabels() { return configServer.getLabels(); }