public List<String> getElementList(String key) {
    Object element = definitionMap.getMapElement(key);
    List<String> lst;

    if (element instanceof String) {
      return Collections.singletonList((String) element);
    } else if (element instanceof List) {
      return (List) element;
    } else {
      return null;
    }
  }
 public Map getMap(EditableDefinablePlugin plugin) {
   return Collections.unmodifiableMap(plugin.getHashFilterRules());
 }
 public Map getMap(EditableDefinablePlugin plugin) {
   return Collections.unmodifiableMap(plugin.getCrawlFilterFactories());
 }