Class RESTfulParameterBuilder
- java.lang.Object
 - 
- org.jenkinsci.plugins.maven_artifact_choicelistprovider.RESTfulParameterBuilder
 
 
- 
- Direct Known Subclasses:
 Nexus3RESTfulParameterBuilderForGenericArtifacts,Nexus3RESTfulParameterBuilderForMaven2Artifacts,StandardRESTfulParameterBuilder
public abstract class RESTfulParameterBuilder extends Object
Creates URL Parameters for a Nexus, Nexus3 and Artifactory Repository.- Author:
 - stephan.watermeyer, Diebold Nixdorf
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static StringCLASSIFIER_ALLstatic StringPACKAGING_ALL 
- 
Constructor Summary
Constructors Constructor Description RESTfulParameterBuilder() 
- 
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.MultivaluedMap<String,String>create(String pRepositoryId, String pName)javax.ws.rs.core.MultivaluedMap<String,String>create(String pRepositoryId, String pGroupId, String pArtifactId, String pPackaging, ValidAndInvalidClassifier pClassifier)javax.ws.rs.core.MultivaluedMap<String,String>create(String pRepositoryId, String pGroupId, String pArtifactId, String pPackaging, ValidAndInvalidClassifier pClassifier, String pToken)Creates the parameter list for the RESTful service.abstract StringgetArtifactId()abstract StringgetClassifier()abstract StringgetContinuationToken()abstract StringgetGroupId()abstract StringgetPackaging()abstract StringgetRepositoryId()abstract StringgetSortOrder() 
 - 
 
- 
- 
Field Detail
- 
PACKAGING_ALL
public static final String PACKAGING_ALL
- See Also:
 - Constant Field Values
 
 
- 
CLASSIFIER_ALL
public static final String CLASSIFIER_ALL
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
create
public javax.ws.rs.core.MultivaluedMap<String,String> create(String pRepositoryId, String pName)
 
- 
create
public javax.ws.rs.core.MultivaluedMap<String,String> create(String pRepositoryId, String pGroupId, String pArtifactId, String pPackaging, ValidAndInvalidClassifier pClassifier)
 
- 
create
public javax.ws.rs.core.MultivaluedMap<String,String> create(String pRepositoryId, String pGroupId, String pArtifactId, String pPackaging, ValidAndInvalidClassifier pClassifier, String pToken)
Creates the parameter list for the RESTful service.- Parameters:
 pRepositoryId- the repositoryId.pGroupId- the GroupIdpArtifactId- the ArtifactIdpPackaging- the PackagingpClassifier- the ClassifierpToken- the Nexus 3 Token.- Returns:
 - the parameters to be used for the request.
 
 
- 
getRepositoryId
public abstract String getRepositoryId()
 
- 
getGroupId
public abstract String getGroupId()
 
- 
getArtifactId
public abstract String getArtifactId()
 
- 
getPackaging
public abstract String getPackaging()
 
- 
getClassifier
public abstract String getClassifier()
 
- 
getContinuationToken
public abstract String getContinuationToken()
 
- 
getSortOrder
public abstract String getSortOrder()
 
 - 
 
 -