Class MavenMetadataSearchService
- java.lang.Object
-
- org.jenkinsci.plugins.maven_artifact_choicelistprovider.AbstractRESTfulVersionReader
-
- org.jenkinsci.plugins.maven_artifact_choicelistprovider.maven.MavenMetadataSearchService
-
- All Implemented Interfaces:
IVersionReader
public class MavenMetadataSearchService extends AbstractRESTfulVersionReader implements IVersionReader
-
-
Field Summary
-
Fields inherited from class org.jenkinsci.plugins.maven_artifact_choicelistprovider.AbstractRESTfulVersionReader
PACKAGING_ALL
-
-
Constructor Summary
Constructors Constructor Description MavenMetadataSearchService(String mURL)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Set<String>
callService(String pRepositoryId, String pGroupId, String pArtifactId, String pPackaging, ValidAndInvalidClassifier pClassifier)
Ordering of returned versions is important so using a LinkedHashSet inside.String
getRESTfulServiceEndpoint()
Deprecated.needed only for super class to make it compile-
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
-
MavenMetadataSearchService
public MavenMetadataSearchService(String mURL)
-
-
Method Detail
-
getRESTfulServiceEndpoint
@Deprecated public String getRESTfulServiceEndpoint()
Deprecated.needed only for super class to make it compilePath used to configure aWebTarget
instance initialised by super class. For this service further parameters are required to calculate the path of the endpoint.- Specified by:
getRESTfulServiceEndpoint
in classAbstractRESTfulVersionReader
- Returns:
- a string which doesn't ruin the base url provided by this class constructor
-
callService
public Set<String> callService(String pRepositoryId, String pGroupId, String pArtifactId, String pPackaging, ValidAndInvalidClassifier pClassifier) throws VersionReaderException
Ordering of returned versions is important so using a LinkedHashSet inside.- Specified by:
callService
in classAbstractRESTfulVersionReader
- Throws:
VersionReaderException
- TBD.
-
-