Class AbstractMavenArtifactDescriptorImpl

java.lang.Object
hudson.model.Descriptor<jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProvider>
org.jenkinsci.plugins.maven_artifact_choicelistprovider.AbstractMavenArtifactDescriptorImpl
All Implemented Interfaces:
Saveable, Loadable, OnMaster
Direct Known Subclasses:
ArtifactoryChoiceListProvider.ArtifactoryDescriptorImpl, MavenCentralChoiceListProvider.MavenDescriptorImpl, Nexus3ChoiceListProvider.Nexus3DescriptorImpl, NexusChoiceListProvider.NexusDescriptorImpl

public abstract class AbstractMavenArtifactDescriptorImpl extends Descriptor<jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProvider>
Base Class for a Descriptor.
Author:
stephan.watermeyer, Diebold Nixdorf
  • Constructor Details

    • AbstractMavenArtifactDescriptorImpl

      public AbstractMavenArtifactDescriptorImpl()
  • Method Details

    • doCheckGroupId

      public FormValidation doCheckGroupId(@QueryParameter String groupId, @QueryParameter String artifactId)
    • doCheckArtifactId

      public FormValidation doCheckArtifactId(@QueryParameter String artifactId, @QueryParameter String groupId)
    • doCheckPackaging

      public FormValidation doCheckPackaging(@QueryParameter String packaging)
    • doCheckClassifier

      public FormValidation doCheckClassifier(@QueryParameter String classifier)
    • doCheckFilterExpression

      public FormValidation doCheckFilterExpression(@QueryParameter String filterExpression)
    • performTest

      public FormValidation performTest(IVersionReader pService, @QueryParameter String repositoryId, @QueryParameter String groupId, @QueryParameter String artifactId, @QueryParameter String packaging, @QueryParameter String classifier, @QueryParameter boolean inverseFilter, @QueryParameter String filterExpression, @QueryParameter boolean reverseOrder)
    • wrapTestConnection

      protected abstract Map<String,String> wrapTestConnection(IVersionReader service, String repositoryId, String groupId, String artifactId, String packaging, String classifier, boolean inverseFilter, String filterExpression, boolean reverseOrder)
      Own implementations of this DescriptorImpl might do this normally as a static inner class. The surrounding class then has to extend AbstractMavenArtifactChoiceListProvider and thus this wrapper method can forward to the implementation of readURL.
      Parameters:
      service - TBD
      repositoryId - TBD
      groupId - TBD
      artifactId - TBD
      packaging - TBD
      classifier - TBD
      inverseFilter - TBD
      filterExpression - TBD
      reverseOrder - TBD
      Returns:
      the list of found items.