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
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Field Detail
-
ANONYMOUS
public static final String ANONYMOUS
- See Also:
- Constant Field Values
-
SAME
public static final String SAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDisplayName
public String 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)
-
isServerUrlSelectable
public boolean isServerUrlSelectable()
-
doFillServerUrlItems
public ListBoxModel doFillServerUrlItems(@AncestorInPath jenkins.scm.api.SCMSourceOwner context)
-
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
-
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
public List<jenkins.scm.api.trait.SCMSourceTrait> getTraitsDefaults()
- Overrides:
getTraitsDefaults
in classjenkins.scm.api.SCMSourceDescriptor
-
-