Class MavenDownloadManager.MavenDownloader
- java.lang.Object
-
- org.apache.karaf.features.internal.download.impl.MavenDownloadManager.MavenDownloader
-
- All Implemented Interfaces:
Downloader
- Enclosing class:
- MavenDownloadManager
protected class MavenDownloadManager.MavenDownloader extends Object implements Downloader
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
MavenDownloader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
await()
protected AbstractDownloadTask
createDownloadTask(String url)
protected AbstractDownloadTask
doCreateDownloadTask(String url)
void
download(String location, DownloadCallback downloadCallback)
int
pending()
-
-
-
Method Detail
-
pending
public int pending()
-
await
public void await() throws InterruptedException, MultiException
- Specified by:
await
in interfaceDownloader
- Throws:
InterruptedException
MultiException
-
download
public void download(String location, DownloadCallback downloadCallback) throws MalformedURLException
- Specified by:
download
in interfaceDownloader
- Throws:
MalformedURLException
-
createDownloadTask
protected AbstractDownloadTask createDownloadTask(String url)
-
doCreateDownloadTask
protected AbstractDownloadTask doCreateDownloadTask(String url)
-
-