org.jfrog.build.extractor.clientConfiguration.util
Class DependenciesDownloaderHelper
java.lang.Object
org.jfrog.build.extractor.clientConfiguration.util.DependenciesDownloaderHelper
public class DependenciesDownloaderHelper
- extends java.lang.Object
Helper class for downloading dependencies
|
Method Summary |
java.util.List<org.jfrog.build.api.Dependency> |
downloadDependencies(java.util.Set<org.jfrog.build.api.dependency.DownloadableArtifact> downloadableArtifacts)
|
java.util.List<org.jfrog.build.api.Dependency> |
downloadDependencies(java.lang.String serverUrl,
Spec downloadSpec)
Download dependencies by the provided spec from the given artifactory server. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DependenciesDownloaderHelper
public DependenciesDownloaderHelper(DependenciesDownloader downloader,
org.jfrog.build.api.util.Log log)
downloadDependencies
public java.util.List<org.jfrog.build.api.Dependency> downloadDependencies(java.lang.String serverUrl,
Spec downloadSpec)
throws java.io.IOException
- Download dependencies by the provided spec from the given artifactory server.
returns list of downloaded artifacts
- Parameters:
serverUrl - the server urldownloadSpec - the download spec
- Returns:
- list of downloaded artifacts
- Throws:
java.io.IOException - in case of IO error
downloadDependencies
public java.util.List<org.jfrog.build.api.Dependency> downloadDependencies(java.util.Set<org.jfrog.build.api.dependency.DownloadableArtifact> downloadableArtifacts)
throws java.io.IOException
- Throws:
java.io.IOException