use of com.twinsoft.convertigo.beans.references.ProjectSchemaReference in project convertigo by convertigo.
the class ReferencedProjectManager method check.
private boolean check(Project project, Map<String, ProjectUrlParser> refs) {
project.getReferenceList().forEach(r -> {
if (r instanceof ProjectSchemaReference) {
ProjectSchemaReference ref = (ProjectSchemaReference) r;
String url = ref.getProjectName();
ProjectUrlParser parser = new ProjectUrlParser(url);
if (parser.isValid()) {
refs.put(parser.getProjectName(), parser);
}
}
});
return check(refs);
}
Aggregations