public class ProfileDownloader
extends java.lang.Object
Constructor and Description |
---|
ProfileDownloader(FabricService fabricService,
java.io.File target,
boolean force,
java.util.concurrent.ExecutorService executorService) |
Modifier and Type | Method and Description |
---|---|
protected void |
addMavenBundles(java.util.Set<java.lang.String> bundles,
java.util.List<java.lang.String> bundleList) |
void |
downloadProfile(Profile profile)
Downloads the bundles, features and FABs for this profile.
|
void |
downloadVersion(Version version)
Downloads the bundles, features and FABs for all the profiles in this version
|
java.util.List<java.lang.String> |
getFailedProfileIDs()
Returns the list of profile IDs which failed
|
static java.lang.String |
getMavenCoords(java.lang.String bundle)
Returns the mvn coordinates URL from the URI string, stripping any prefix like "wrap:" or "war: " or whatnot; or return null if there is no maven URL inside the URI
|
int |
getProcessedFileCount()
Returns the number of files succesfully processed
|
public ProfileDownloader(FabricService fabricService, java.io.File target, boolean force, java.util.concurrent.ExecutorService executorService)
public void downloadVersion(Version version) throws java.lang.Exception
java.lang.Exception
public void downloadProfile(Profile profile) throws java.lang.Exception
java.lang.Exception
public static java.lang.String getMavenCoords(java.lang.String bundle)
public int getProcessedFileCount()
public java.util.List<java.lang.String> getFailedProfileIDs()
protected void addMavenBundles(java.util.Set<java.lang.String> bundles, java.util.List<java.lang.String> bundleList)
Copyright © 2011-2014 Red Hat. All Rights Reserved.