public abstract class RepositoryManager extends Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
cacheEnabled |
static String[] |
servers |
static String |
SERVICE_ARCHIVE_IDENTIFIER |
| Constructor and Description |
|---|
RepositoryManager(String[] mavenServerList) |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
extractDepsFromMavenEmb(String url) |
abstract String |
get(Object mavenC,
String extension,
String classifier)
Return the URL for download a maven object (pom, tar.gz, jar) that corresponds to the maven coordinates in input
|
abstract String |
getSALocation(File tmpTargetDirectory,
List<MavenCoordinates> mcList,
Coordinates coordinates)
Get location of software archive
|
abstract String |
searchArtifact(String baseUrl,
String groupName,
String artifact,
String extension,
String ver,
boolean pom,
String classifier)
Get location artifact
|
public static String[] servers
public static final String SERVICE_ARCHIVE_IDENTIFIER
protected boolean cacheEnabled
public RepositoryManager(String[] mavenServerList)
public abstract String get(Object mavenC, String extension, String classifier) throws MalformedURLException, ServiceNotAvaiableFault
mavenC: - maven Coordinatesextension: - specify the kind of object that want to be returnedMalformedURLExceptionServiceNotAvaiableFaultpublic abstract String extractDepsFromMavenEmb(String url) throws ServiceNotAvaiableFault
url - the url of the remote pomis - BadCoordinatesExceptionExceptionServiceNotAvaiableFaultpublic abstract String searchArtifact(String baseUrl, String groupName, String artifact, String extension, String ver, boolean pom, String classifier) throws MalformedURLException
baseUrl - groupName - artifact - extension - ver - pom - classifier - MalformedURLExceptionpublic abstract String getSALocation(File tmpTargetDirectory, List<MavenCoordinates> mcList, Coordinates coordinates) throws MalformedURLException, ServiceNotAvaiableFault, IOException, Exception
tmpTargetDirectory - mcList - coordinates - MalformedURLExceptionServiceNotAvaiableFaultIOExceptionExceptionCopyright © 2014. All Rights Reserved.