Class MavenCentralChoiceListProvider.MavenDescriptorImpl
java.lang.Object
hudson.model.Descriptor<jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProvider>
org.jenkinsci.plugins.maven_artifact_choicelistprovider.AbstractMavenArtifactDescriptorImpl
org.jenkinsci.plugins.maven_artifact_choicelistprovider.central.MavenCentralChoiceListProvider.MavenDescriptorImpl
- Enclosing class:
MavenCentralChoiceListProvider
@Extension
public static class MavenCentralChoiceListProvider.MavenDescriptorImpl
extends AbstractMavenArtifactDescriptorImpl
-
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 TypeMethodDescriptiondoTest(String url, String groupId, String artifactId, String packaging, String classifier, boolean inverseFilter, String filterExpression, boolean reverseOrder) the display name shown in the dropdown to select a choice provider.wrapTestConnection(IVersionReader service, String pRepositoryId, String pGroupId, String pArtifactId, String pPackaging, String pClassifier, boolean pInverseFilter, String pFilterExpression, boolean pReverseOrder) Own implementations of this DescriptorImpl might do this normally as a static inner class.Methods inherited from class org.jenkinsci.plugins.maven_artifact_choicelistprovider.AbstractMavenArtifactDescriptorImpl
doCheckArtifactId, doCheckClassifier, doCheckFilterExpression, doCheckGroupId, doCheckPackaging, performTestMethods 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, 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
-
MavenDescriptorImpl
public MavenDescriptorImpl()
-
-
Method Details
-
getDisplayName
the display name shown in the dropdown to select a choice provider.- Overrides:
getDisplayNamein classDescriptor<jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProvider>- Returns:
- display name
- See Also:
-
doTest
public FormValidation doTest(@QueryParameter String url, @QueryParameter String groupId, @QueryParameter String artifactId, @QueryParameter String packaging, @QueryParameter String classifier, @QueryParameter boolean inverseFilter, @QueryParameter String filterExpression, @QueryParameter boolean reverseOrder) -
wrapTestConnection
protected Map<String,String> wrapTestConnection(IVersionReader service, String pRepositoryId, String pGroupId, String pArtifactId, String pPackaging, String pClassifier, boolean pInverseFilter, String pFilterExpression, boolean pReverseOrder) Description copied from class:AbstractMavenArtifactDescriptorImplOwn 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.- Specified by:
wrapTestConnectionin classAbstractMavenArtifactDescriptorImpl- Parameters:
service- TBDpRepositoryId- TBDpGroupId- TBDpArtifactId- TBDpPackaging- TBDpClassifier- TBDpInverseFilter- TBDpFilterExpression- TBDpReverseOrder- TBD- Returns:
- the list of found items.
-