Class RESTfulParameterBuilder

java.lang.Object
org.jenkinsci.plugins.maven_artifact_choicelistprovider.RESTfulParameterBuilder
Direct Known Subclasses:
StandardRESTfulParameterBuilder

public abstract class RESTfulParameterBuilder extends Object
Creates URL Parameters for a Nexus, Nexus3 and Artifactory Repository.
Author:
stephan.watermeyer, Diebold Nixdorf
  • Field Details

  • Constructor Details

    • RESTfulParameterBuilder

      public RESTfulParameterBuilder()
  • Method Details

    • 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 pGroup, String pName, String pToken)
    • 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 GroupId
      pArtifactId - the ArtifactId
      pPackaging - the Packaging
      pClassifier - the Classifier
      pToken - 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()