@Extension public static class ArtifactoryChoiceListProvider.ArtifactoryDescriptorImpl extends AbstractMavenArtifactDescriptorImpl
| Constructor and Description |
|---|
ArtifactoryChoiceListProvider.ArtifactoryDescriptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
hudson.util.FormValidation |
doCheckUrl(String url) |
hudson.util.ListBoxModel |
doFillCredentialsIdItems() |
hudson.util.FormValidation |
doTest(String url,
String credentialsId,
String groupId,
String artifactId,
String packaging,
String classifier,
boolean reverseOrder) |
String |
getDisplayName()
the display name shown in the dropdown to select a choice provider.
|
protected Map<String,String> |
wrapTestConnection(IVersionReader pService,
String pGroupId,
String pArtifactId,
String pPackaging,
String pClassifier,
boolean pReverseOrder)
Own implementations of this
CredentialsParameterDefinition.DescriptorImpl do this normally as a static inner class. |
doCheckArtifactId, doCheckClassifier, doCheckPackaging, performTestaddHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, doHelp, find, find, findByDescribableClassName, findById, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic ArtifactoryChoiceListProvider.ArtifactoryDescriptorImpl()
public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<jp.ikedam.jenkins.plugins.extensible_choice_parameter.ChoiceListProvider>Descriptor.getDisplayName()public hudson.util.ListBoxModel doFillCredentialsIdItems()
public hudson.util.FormValidation doTest(@QueryParameter
String url,
@QueryParameter
String credentialsId,
@QueryParameter
String groupId,
@QueryParameter
String artifactId,
@QueryParameter
String packaging,
@QueryParameter
String classifier,
@QueryParameter
boolean reverseOrder)
protected Map<String,String> wrapTestConnection(IVersionReader pService, String pGroupId, String pArtifactId, String pPackaging, String pClassifier, boolean pReverseOrder)
AbstractMavenArtifactDescriptorImplCredentialsParameterDefinition.DescriptorImpl do this normally as a static inner class. The surround class
then has to extend AbstractMavenArtifactChoiceListProvider and thus this wrapper method can forward to
the implementation of
AbstractMavenArtifactChoiceListProvider#readURL(IVersionReader, String, String, String, String, String, boolean)wrapTestConnection in class AbstractMavenArtifactDescriptorImplpublic hudson.util.FormValidation doCheckUrl(@QueryParameter
String url)
Copyright © 2016–2017. All rights reserved.