Class Nexus3RestApiAssetForGenericArtifactsService
- java.lang.Object
-
- org.jenkinsci.plugins.maven_artifact_choicelistprovider.AbstractRESTfulVersionReader
-
- org.jenkinsci.plugins.maven_artifact_choicelistprovider.nexus3.Nexus3RestApiAssetForGenericArtifactsService
-
- All Implemented Interfaces:
IVersionReader
public class Nexus3RestApiAssetForGenericArtifactsService extends AbstractRESTfulVersionReader implements IVersionReader
-
-
Field Summary
-
Fields inherited from class org.jenkinsci.plugins.maven_artifact_choicelistprovider.AbstractRESTfulVersionReader
PACKAGING_ALL
-
-
Constructor Summary
Constructors Constructor Description Nexus3RestApiAssetForGenericArtifactsService(String pURL)
-
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)
protected javax.ws.rs.core.MultivaluedMap<String,String>
createRequestParameters(String pRepositoryId, String pGroupId, String pArtifactId, String pPackaging, ValidAndInvalidClassifier pClassifier, String token)
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
-
-
-
-
Constructor Detail
-
Nexus3RestApiAssetForGenericArtifactsService
public Nexus3RestApiAssetForGenericArtifactsService(String pURL)
-
-
Method Detail
-
createRequestParameters
protected javax.ws.rs.core.MultivaluedMap<String,String> createRequestParameters(String pRepositoryId, String pGroupId, String pArtifactId, String pPackaging, ValidAndInvalidClassifier pClassifier, String token)
-
callService
public Set<String> callService(String pRepositoryId, String pGroupId, String pArtifactId, String pPackaging, ValidAndInvalidClassifier pClassifier)
- 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.
-
-