Interface DependencyResolver

  • All Known Implementing Classes:

    public interface DependencyResolver
    Resolve the main meta information of a package dependency.
    • Method Detail

      • resolvePackageInfo

        @NotNull Collection<PackageInfo> resolvePackageInfo​(@NotNull
                                                            @NotNull Dependency[] dependencies,
                                                            @NotNull Map<PackageId,​URI> dependencyLocations)
                                                     throws IOException
        Resolves multiple package dependencies taking into account a map from package id to URI (given via package properties dependencies-locations).
        dependencies - the dependencies to resolve
        dependencyLocations - a map of package ids to URIs
        the list of PackageInfo for all resolved dependencies (as this is only a best effort implementation the list being returned might be smaller than the array size of dependencies).
        IOException - in case some error happened during resolving