Class NexusLuceneSearchService
- java.lang.Object
-
- org.jenkinsci.plugins.maven_artifact_choicelistprovider.AbstractRESTfulVersionReader
-
- org.jenkinsci.plugins.maven_artifact_choicelistprovider.nexus.NexusLuceneSearchService
-
- All Implemented Interfaces:
IVersionReader
public class NexusLuceneSearchService extends AbstractRESTfulVersionReader implements IVersionReader
-
-
Field Summary
-
Fields inherited from class org.jenkinsci.plugins.maven_artifact_choicelistprovider.AbstractRESTfulVersionReader
PACKAGING_ALL
-
-
Constructor Summary
Constructors Constructor Description NexusLuceneSearchService(String pURL)
NexusLuceneSearchService(String pURL, boolean useRESTfulAPI)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
callService(String pRepositoryId, String pGroupId, String pArtifactId, String pPackaging, ValidAndInvalidClassifier pClassifier)
Search in Nexus for the artifact using the Lucene Service.String
getRESTfulServiceEndpoint()
Return the configured service endpoint in this repository.-
Methods inherited from class org.jenkinsci.plugins.maven_artifact_choicelistprovider.AbstractRESTfulVersionReader
getInstance, getTimeout, getURL, getUserName, retrieveVersions, setCredentials, setUserName, setUserPassword
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jenkinsci.plugins.maven_artifact_choicelistprovider.IVersionReader
retrieveVersions, setCredentials, setUserName, setUserPassword
-
-
-
-
Method Detail
-
callService
public Set<String> callService(String pRepositoryId, String pGroupId, String pArtifactId, String pPackaging, ValidAndInvalidClassifier pClassifier)
Search in Nexus for the artifact using the Lucene Service. https://repository.sonatype.org/nexus-indexer-lucene-plugin/default/docs/path__lucene_search.html- Specified by:
callService
in classAbstractRESTfulVersionReader
-
getRESTfulServiceEndpoint
public String getRESTfulServiceEndpoint()
Return the configured service endpoint in this repository.- Specified by:
getRESTfulServiceEndpoint
in classAbstractRESTfulVersionReader
- Returns:
- the configured service endpoint in this repository.
-
-