public class NexusLuceneSearchService extends Object implements IVersionReader
| Constructor and Description |
|---|
NexusLuceneSearchService(String pURL) |
| Modifier and Type | Method and Description |
|---|---|
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)
Search in Nexus for the artifact using the Lucene Service.
|
void |
setCredentials(String pUserName,
String pUserPassword) |
void |
setUserName(String mUserName) |
void |
setUserPassword(String mUserPassword) |
public NexusLuceneSearchService(String pURL)
public List<String> retrieveVersions(String pGroupId, String pArtifactId, String pPackaging, ValidAndInvalidClassifier pClassifier) throws VersionReaderException
retrieveVersions in interface IVersionReaderVersionReaderExceptionpublic String getURL()
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()
Copyright © 2016–2017. All rights reserved.