return reports;
}
private List<Map<String,Object>> generateConfigReferencedPaths(String baseRef){
List<Map<String,Object>> referencedPaths = new ArrayList<Map<String,Object>>();
for (String key : crawlJob.getConfigPaths().keySet()) {
ConfigPath cp = crawlJob.getConfigPaths().get(key);
Map<String,Object> configMap = new LinkedHashMap<String,Object>();
configMap.put("key", key);
configMap.put("name", cp.getName());
configMap.put("path",FileUtils.tryToCanonicalize(cp.getFile()).getAbsolutePath());
configMap.put("url",baseRef+"engine/anypath/"+configMap.get("path"));
configMap.put("editable", EDIT_FILTER.accept(cp.getFile()));
referencedPaths.add(configMap);
}
return referencedPaths;
}