@Extension public static class UserRemoteConfig.DescriptorImpl extends Descriptor<UserRemoteConfig>
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Selfclazz| Constructor and Description |
|---|
DescriptorImpl() |
| Modifier and Type | Method and Description |
|---|---|
FormValidation |
doCheckCredentialsId(Item project,
String url,
String value) |
FormValidation |
doCheckRefspec(String name,
String url,
String value)
A form validation logic as a method to check the specification of 'refSpec' and notify the user about
illegal specs before applying the project configuration
|
FormValidation |
doCheckUrl(Item item,
String credentialsId,
String value) |
ListBoxModel |
doFillCredentialsIdItems(Item project,
String url,
String credentialsId) |
String |
getDisplayName() |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, configure, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item project, @QueryParameter String url, @QueryParameter String credentialsId)
public FormValidation doCheckCredentialsId(@AncestorInPath Item project, @QueryParameter String url, @QueryParameter String value)
public FormValidation doCheckUrl(@AncestorInPath Item item, @QueryParameter String credentialsId, @QueryParameter String value) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic FormValidation doCheckRefspec(@QueryParameter String name, @QueryParameter String url, @QueryParameter String value) throws IllegalArgumentException
name - Name of the remote repositoryurl - Repository URLvalue - value of RefSpecIllegalArgumentException - on unexpected argument errorpublic String getDisplayName()
getDisplayName in class Descriptor<UserRemoteConfig>Copyright © 2007–2021. All rights reserved.