Class BitbucketSCMSource.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<jenkins.scm.api.SCMSource>
jenkins.scm.api.SCMSourceDescriptor
com.cloudbees.jenkins.plugins.bitbucket.BitbucketSCMSource.DescriptorImpl
- Enclosing class:
- BitbucketSCMSource
@Symbol("bitbucket")
@Extension
public static class BitbucketSCMSource.DescriptorImpl
extends jenkins.scm.api.SCMSourceDescriptor
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class jenkins.scm.api.SCMSourceDescriptor
categories
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected jenkins.scm.api.SCMHeadCategory[]
doCheckCredentialsId
(jenkins.scm.api.SCMSourceOwner context, String value, String serverUrl) static FormValidation
doCheckMirrorId
(String value, String serverUrl) static FormValidation
doCheckServerUrl
(jenkins.scm.api.SCMSourceOwner context, String value) doFillCredentialsIdItems
(jenkins.scm.api.SCMSourceOwner context, String serverUrl) doFillMirrorIdItems
(jenkins.scm.api.SCMSourceOwner context, String serverUrl, String credentialsId, String repoOwner, String repository) doFillRepositoryItems
(jenkins.scm.api.SCMSourceOwner context, String serverUrl, String credentialsId, String repoOwner) doFillServerUrlItems
(jenkins.scm.api.SCMSourceOwner context) List<jenkins.scm.api.trait.SCMSourceTrait>
List<jenkins.scm.impl.form.NamedArrayList<? extends jenkins.scm.api.trait.SCMSourceTraitDescriptor>>
boolean
Methods inherited from class jenkins.scm.api.SCMSourceDescriptor
forOwner, forOwner, forOwner, forOwner, getCategories, getIconClassName, getId, getPronoun, isApplicable, isUserInstantiable
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, 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, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Field Details
-
ANONYMOUS
- See Also:
-
SAME
- See Also:
-
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<jenkins.scm.api.SCMSource>
-
doCheckCredentialsId
public FormValidation doCheckCredentialsId(@CheckForNull @AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String value, @QueryParameter String serverUrl) -
doCheckServerUrl
public static FormValidation doCheckServerUrl(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String value) -
doCheckMirrorId
public static FormValidation doCheckMirrorId(@QueryParameter String value, @QueryParameter String serverUrl) -
isServerUrlSelectable
public boolean isServerUrlSelectable() -
doFillServerUrlItems
-
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String serverUrl) -
doFillRepositoryItems
public ListBoxModel doFillRepositoryItems(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String serverUrl, @QueryParameter String credentialsId, @QueryParameter String repoOwner) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-
doFillMirrorIdItems
public ListBoxModel doFillMirrorIdItems(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String serverUrl, @QueryParameter String credentialsId, @QueryParameter String repoOwner, @QueryParameter String repository) throws FormFillFailure - Throws:
FormFillFailure
-
createCategories
@NonNull protected jenkins.scm.api.SCMHeadCategory[] createCategories()- Overrides:
createCategories
in classjenkins.scm.api.SCMSourceDescriptor
-
getTraitsDescriptorLists
public List<jenkins.scm.impl.form.NamedArrayList<? extends jenkins.scm.api.trait.SCMSourceTraitDescriptor>> getTraitsDescriptorLists() -
getTraitsDefaults
- Overrides:
getTraitsDefaults
in classjenkins.scm.api.SCMSourceDescriptor
-