public List<ProjectTypeResolution> resolveSources(String path,boolean transientOnly) throws ServerException, NotFoundException {
  final List<ProjectTypeResolution> resolutions=new ArrayList<>();
  for (  ProjectType type : projectTypeRegistry.getProjectTypes(ProjectTypeRegistry.CHILD_TO_PARENT_COMPARATOR)) {
    if (transientOnly && type.isPersisted()) {
      continue;
    }
    try {
      final ProjectTypeResolution resolution=estimateProject(path,type.getId());
      if (resolution.matched()) {
        resolutions.add(resolution);
      }
    }
 catch (    ValueStorageException e) {
      LOG.warn(e.getLocalizedMessage(),e);
    }
  }
  return resolutions;
}

public List < ProjectTypeResolution > resolveSources ( String path , boolean transientOnly ) throws ServerException , NotFoundException { final List < ProjectTypeResolution > resolutions = new ArrayList < > ( ) ; for ( ProjectType type : projectTypeRegistry . getProjectTypes ( ProjectTypeRegistry . CHILD_TO_PARENT_COMPARATOR ) ) { if ( transientOnly && type . isPersisted ( ) ) { continue ; } try { final ProjectTypeResolution resolution = estimateProject ( path , type . getId ( ) ) ; if ( resolution . matched ( ) ) { resolutions . add ( resolution ) ; } } catch ( ValueStorageException e ) { LOG . warn ( e . getLocalizedMessage ( ) , e ) ; } } return resolutions ; }
estimates to which project types the folder can be converted to
