public class DownloadManager extends Object
Constructor and Description |
---|
DownloadManager(MavenConfiguration configuration) |
DownloadManager(MavenConfiguration configuration,
ExecutorService executor) |
Modifier and Type | Method and Description |
---|---|
DownloadFuture |
download(String url) |
ExecutorService |
getExecutor() |
boolean |
isDownloadFilesFromProfile() |
void |
setDownloadFilesFromProfile(boolean downloadFilesFromProfile) |
void |
shutdown() |
public DownloadManager(MavenConfiguration configuration) throws MalformedURLException
MalformedURLException
public DownloadManager(MavenConfiguration configuration, ExecutorService executor) throws MalformedURLException
MalformedURLException
public boolean isDownloadFilesFromProfile()
public void setDownloadFilesFromProfile(boolean downloadFilesFromProfile)
public ExecutorService getExecutor()
public void shutdown()
public DownloadFuture download(String url) throws MalformedURLException
MalformedURLException
Copyright © 2011–2014 Red Hat. All rights reserved.