public class DownloadManager
extends java.lang.Object
Constructor and Description |
---|
DownloadManager(MavenConfiguration configuration) |
DownloadManager(MavenConfiguration configuration,
java.util.concurrent.ExecutorService executor) |
Modifier and Type | Method and Description |
---|---|
DownloadFuture |
download(java.lang.String url) |
java.util.concurrent.ExecutorService |
getExecutor() |
void |
shutdown() |
public DownloadManager(MavenConfiguration configuration) throws java.net.MalformedURLException
java.net.MalformedURLException
public DownloadManager(MavenConfiguration configuration, java.util.concurrent.ExecutorService executor) throws java.net.MalformedURLException
java.net.MalformedURLException
public java.util.concurrent.ExecutorService getExecutor()
public void shutdown()
public DownloadFuture download(java.lang.String url) throws java.net.MalformedURLException
java.net.MalformedURLException
Copyright © 2011-2014 Red Hat. All Rights Reserved.