Class DownloaderKt

  • All Implemented Interfaces:

    
    public final class DownloaderKt
    
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static Map<Package, List<Package>> consolidateProjectPackagesByVcs(Collection<Project> projects) Consolidate projects based on their VcsInfo without taking the path into account.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • consolidateProjectPackagesByVcs

         final static Map<Package, List<Package>> consolidateProjectPackagesByVcs(Collection<Project> projects)

        Consolidate projects based on their VcsInfo without taking the path into account. As VcsInfo is stored per project but many project definition files actually reside in different subdirectories of the same VCS working tree, it does not make sense to download (and scan) all of them individually, not even if doing sparse checkouts. Return a map that associates packages for projects in distinct VCS working trees with all other projects from the same VCS working tree.