@Symbol(value="bitbucket") @Extension public static class BitbucketSCMSource.DescriptorImpl extends jenkins.scm.api.SCMSourceDescriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
Modifier and Type | Field and Description |
---|---|
static String |
ANONYMOUS |
static String |
SAME |
categories
clazz
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
protected jenkins.scm.api.SCMHeadCategory[] |
createCategories() |
FormValidation |
doCheckCredentialsId(jenkins.scm.api.SCMSourceOwner context,
String value,
String serverUrl) |
static FormValidation |
doCheckServerUrl(jenkins.scm.api.SCMSourceOwner context,
String value) |
ListBoxModel |
doFillCredentialsIdItems(jenkins.scm.api.SCMSourceOwner context,
String serverUrl) |
ListBoxModel |
doFillRepositoryItems(jenkins.scm.api.SCMSourceOwner context,
String serverUrl,
String credentialsId,
String repoOwner) |
ListBoxModel |
doFillServerUrlItems(jenkins.scm.api.SCMSourceOwner context) |
String |
getDisplayName() |
List<jenkins.scm.api.trait.SCMSourceTrait> |
getTraitsDefaults() |
List<jenkins.scm.impl.form.NamedArrayList<? extends jenkins.scm.api.trait.SCMSourceTraitDescriptor>> |
getTraitsDescriptorLists() |
boolean |
isServerUrlSelectable() |
forOwner, forOwner, forOwner, forOwner, getCategories, getIconClassName, getId, getPronoun, isApplicable, isUserInstantiable
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, toMap
public static final String ANONYMOUS
public static final String SAME
public String getDisplayName()
getDisplayName
in class Descriptor<jenkins.scm.api.SCMSource>
public FormValidation doCheckCredentialsId(@CheckForNull @AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String value, @QueryParameter String serverUrl)
public static FormValidation doCheckServerUrl(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String value)
public boolean isServerUrlSelectable()
public ListBoxModel doFillServerUrlItems(@AncestorInPath jenkins.scm.api.SCMSourceOwner context)
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String serverUrl)
public ListBoxModel doFillRepositoryItems(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String serverUrl, @QueryParameter String credentialsId, @QueryParameter String repoOwner) throws IOException, InterruptedException
IOException
InterruptedException
@NonNull protected jenkins.scm.api.SCMHeadCategory[] createCategories()
createCategories
in class jenkins.scm.api.SCMSourceDescriptor
public List<jenkins.scm.impl.form.NamedArrayList<? extends jenkins.scm.api.trait.SCMSourceTraitDescriptor>> getTraitsDescriptorLists()
public List<jenkins.scm.api.trait.SCMSourceTrait> getTraitsDefaults()
getTraitsDefaults
in class jenkins.scm.api.SCMSourceDescriptor
Copyright © 2016–2022. All rights reserved.