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 SummaryFields Modifier and Type Field Description static StringCLASSIFIER_ALLstatic StringPACKAGING_ALL
 - 
Constructor SummaryConstructors Constructor Description RESTfulParameterBuilder()
 - 
Method SummaryAll 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_ALLpublic static final String PACKAGING_ALL - See Also:
- Constant Field Values
 
 - 
CLASSIFIER_ALLpublic static final String CLASSIFIER_ALL - See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
createpublic javax.ws.rs.core.MultivaluedMap<String,String> create(String pRepositoryId, String pName) 
 - 
createpublic javax.ws.rs.core.MultivaluedMap<String,String> create(String pRepositoryId, String pGroupId, String pArtifactId, String pPackaging, ValidAndInvalidClassifier pClassifier) 
 - 
createpublic 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 GroupId
- pArtifactId- the ArtifactId
- pPackaging- the Packaging
- pClassifier- the Classifier
- pToken- the Nexus 3 Token.
- Returns:
- the parameters to be used for the request.
 
 - 
getRepositoryIdpublic abstract String getRepositoryId() 
 - 
getGroupIdpublic abstract String getGroupId() 
 - 
getArtifactIdpublic abstract String getArtifactId() 
 - 
getPackagingpublic abstract String getPackaging() 
 - 
getClassifierpublic abstract String getClassifier() 
 - 
getContinuationTokenpublic abstract String getContinuationToken() 
 - 
getSortOrderpublic abstract String getSortOrder() 
 
- 
 
-