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
FieldsFields inherited from class jenkins.scm.api.SCMSourceDescriptor
categoriesFields inherited from class hudson.model.Descriptor
clazz -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected jenkins.scm.api.SCMHeadCategory[]doCheckCredentialsId(jenkins.scm.api.SCMSourceOwner context, String value, String serverURL) static FormValidationdoCheckServerUrl(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>>booleanMethods inherited from class jenkins.scm.api.SCMSourceDescriptor
forOwner, forOwner, forOwner, forOwner, getCategories, getIconClassName, getId, getPronoun, isApplicable, isUserInstantiableMethods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, configure, configure, doHelp, 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, getStaticHelpUrl, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Field Details
-
ANONYMOUS
- See Also:
-
SAME
- See Also:
-
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<jenkins.scm.api.SCMSource>
-
doCheckCredentialsId
public FormValidation doCheckCredentialsId(@CheckForNull @AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String value, @QueryParameter(fixEmpty=true,value="serverUrl") String serverURL) -
doCheckServerUrl
public static FormValidation doCheckServerUrl(@AncestorInPath jenkins.scm.api.SCMSourceOwner context, @QueryParameter String value) -
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 - Throws:
IOException
-
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:
createCategoriesin classjenkins.scm.api.SCMSourceDescriptor
-
getTraitsDescriptorLists
public List<jenkins.scm.impl.form.NamedArrayList<? extends jenkins.scm.api.trait.SCMSourceTraitDescriptor>> getTraitsDescriptorLists() -
getTraitsDefaults
- Overrides:
getTraitsDefaultsin classjenkins.scm.api.SCMSourceDescriptor
-