public abstract class AbstractRESTfulVersionReader extends Object implements IVersionReader
| Modifier and Type | Field and Description |
|---|---|
protected static String |
PACKAGING_ALL |
| Constructor and Description |
|---|
AbstractRESTfulVersionReader(String pURL) |
| Modifier and Type | Method and Description |
|---|---|
abstract Set<String> |
callService(String pGroupId,
String pArtifactId,
String pPackaging,
ValidAndInvalidClassifier pClassifier) |
protected com.sun.jersey.api.client.WebResource |
getInstance() |
abstract String |
getRESTfulServiceEndpoint()
Return the configured service endpoint in this repository.
|
protected int |
getTimeout()
Return the configured read timeout in milliseconds.
|
String |
getURL() |
String |
getUserName() |
List<String> |
retrieveVersions(String pGroupId,
String pArtifactId,
String pPackaging,
ValidAndInvalidClassifier pClassifier) |
void |
setCredentials(String pUserName,
String pUserPassword) |
void |
setUserName(String mUserName) |
void |
setUserPassword(String mUserPassword) |
protected static final String PACKAGING_ALL
public AbstractRESTfulVersionReader(String pURL)
public List<String> retrieveVersions(String pGroupId, String pArtifactId, String pPackaging, ValidAndInvalidClassifier pClassifier) throws VersionReaderException
retrieveVersions in interface IVersionReaderVersionReaderExceptionpublic String getURL()
protected com.sun.jersey.api.client.WebResource getInstance()
public String getUserName()
public void setUserName(String mUserName)
setUserName in interface IVersionReaderpublic void setUserPassword(String mUserPassword)
setUserPassword in interface IVersionReaderpublic void setCredentials(String pUserName, String pUserPassword)
setCredentials in interface IVersionReaderprotected int getTimeout()
public abstract String getRESTfulServiceEndpoint()
Copyright © 2016–2017. All rights reserved.