Class AbstractMavenArtifactDescriptorImpl
java.lang.Object
hudson.model.Descriptor<jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProvider>
org.jenkinsci.plugins.maven_artifact_choicelistprovider.AbstractMavenArtifactDescriptorImpl
- 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
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self -
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoCheckArtifactId(String artifactId, String groupId) doCheckClassifier(String classifier) doCheckFilterExpression(String filterExpression) doCheckGroupId(String groupId, String artifactId) doCheckPackaging(String packaging) performTest(IVersionReader pService, String repositoryId, String groupId, String artifactId, String packaging, String classifier, boolean inverseFilter, String filterExpression, boolean reverseOrder) 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.Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getStaticHelpUrl, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
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
-
doCheckClassifier
-
doCheckFilterExpression
-
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 extendAbstractMavenArtifactChoiceListProviderand thus this wrapper method can forward to the implementation of readURL.- Parameters:
service- TBDrepositoryId- TBDgroupId- TBDartifactId- TBDpackaging- TBDclassifier- TBDinverseFilter- TBDfilterExpression- TBDreverseOrder- TBD- Returns:
- the list of found items.
-