Class BitbucketSCMSource.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<jenkins.scm.api.SCMSource>
-
- jenkins.scm.api.SCMSourceDescriptor
-
- com.atlassian.bitbucket.jenkins.internal.scm.BitbucketSCMSource.DescriptorImpl
-
- All Implemented Interfaces:
BitbucketScmFormFill
,BitbucketScmFormValidation
,Saveable
,OnMaster
,IconSpec
- Enclosing class:
- BitbucketSCMSource
@Symbol("BbS") @Extension public static class BitbucketSCMSource.DescriptorImpl extends jenkins.scm.api.SCMSourceDescriptor implements BitbucketScmFormValidation, BitbucketScmFormFill
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected jenkins.scm.api.SCMHeadCategory[]
createCategories()
FormValidation
doCheckCredentialsId(Item context, String credentialsId)
FormValidation
doCheckProjectName(Item context, String serverId, String credentialsId, String projectName)
FormValidation
doCheckRepositoryName(Item context, String serverId, String credentialsId, String projectName, String repositoryName)
FormValidation
doCheckServerId(Item context, String serverId)
FormValidation
doCheckSshCredentialsId(Item context, String sshCredentialsId)
ListBoxModel
doFillCredentialsIdItems(Item context, String baseUrl, String credentialsId)
ListBoxModel
doFillMirrorNameItems(Item context, String serverId, String credentialsId, String projectName, String repositoryName, String mirrorName)
org.kohsuke.stapler.HttpResponse
doFillProjectNameItems(Item context, String serverId, String credentialsId, String projectName)
org.kohsuke.stapler.HttpResponse
doFillRepositoryNameItems(Item context, String serverId, String credentialsId, String projectName, String repositoryName)
ListBoxModel
doFillServerIdItems(Item context, String serverId)
ListBoxModel
doFillSshCredentialsIdItems(Item context, String baseUrl, String sshCredentialsId)
FormValidation
doTestConnection(Item context, String serverId, String credentialsId, String projectName, String repositoryName, String mirrorName)
BitbucketClientFactoryProvider
getBitbucketClientFactoryProvider()
BitbucketExternalLinkUtils
getBitbucketExternalLinkUtils()
String
getDisplayName()
List<hudson.plugins.git.extensions.GitSCMExtensionDescriptor>
getExtensionDescriptors()
List<hudson.plugins.git.GitTool>
getGitTools()
RetryingWebhookHandler
getRetryingWebhookHandler()
boolean
getShowGitToolOptions()
List<jenkins.scm.api.trait.SCMSourceTrait>
getTraitsDefaults()
List<jenkins.scm.impl.form.NamedArrayList<? extends jenkins.scm.api.trait.SCMSourceTraitDescriptor>>
getTraitsDescriptorLists()
-
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
-
-
-
-
Method Detail
-
doCheckCredentialsId
@POST public FormValidation doCheckCredentialsId(@AncestorInPath Item context, @QueryParameter String credentialsId)
- Specified by:
doCheckCredentialsId
in interfaceBitbucketScmFormValidation
-
doCheckProjectName
@POST public FormValidation doCheckProjectName(@AncestorInPath Item context, @QueryParameter String serverId, @QueryParameter String credentialsId, @QueryParameter String projectName)
- Specified by:
doCheckProjectName
in interfaceBitbucketScmFormValidation
-
doCheckRepositoryName
@POST public FormValidation doCheckRepositoryName(@AncestorInPath Item context, @QueryParameter String serverId, @QueryParameter String credentialsId, @QueryParameter String projectName, @QueryParameter String repositoryName)
- Specified by:
doCheckRepositoryName
in interfaceBitbucketScmFormValidation
-
doCheckServerId
@POST public FormValidation doCheckServerId(@AncestorInPath Item context, @QueryParameter String serverId)
- Specified by:
doCheckServerId
in interfaceBitbucketScmFormValidation
-
doCheckSshCredentialsId
public FormValidation doCheckSshCredentialsId(@AncestorInPath Item context, @QueryParameter String sshCredentialsId)
- Specified by:
doCheckSshCredentialsId
in interfaceBitbucketScmFormValidation
-
doFillCredentialsIdItems
@POST public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item context, @QueryParameter String baseUrl, @QueryParameter String credentialsId)
- Specified by:
doFillCredentialsIdItems
in interfaceBitbucketScmFormFill
-
doFillMirrorNameItems
@POST public ListBoxModel doFillMirrorNameItems(@AncestorInPath Item context, @QueryParameter String serverId, @QueryParameter String credentialsId, @QueryParameter String projectName, @QueryParameter String repositoryName, @QueryParameter String mirrorName)
- Specified by:
doFillMirrorNameItems
in interfaceBitbucketScmFormFill
-
doFillProjectNameItems
@POST public org.kohsuke.stapler.HttpResponse doFillProjectNameItems(@AncestorInPath Item context, @QueryParameter String serverId, @QueryParameter String credentialsId, @QueryParameter String projectName)
- Specified by:
doFillProjectNameItems
in interfaceBitbucketScmFormFill
-
doFillRepositoryNameItems
@POST public org.kohsuke.stapler.HttpResponse doFillRepositoryNameItems(@AncestorInPath Item context, @QueryParameter String serverId, @QueryParameter String credentialsId, @QueryParameter String projectName, @QueryParameter String repositoryName)
- Specified by:
doFillRepositoryNameItems
in interfaceBitbucketScmFormFill
-
doFillServerIdItems
@POST public ListBoxModel doFillServerIdItems(@AncestorInPath Item context, @QueryParameter String serverId)
- Specified by:
doFillServerIdItems
in interfaceBitbucketScmFormFill
-
doFillSshCredentialsIdItems
public ListBoxModel doFillSshCredentialsIdItems(@AncestorInPath Item context, @QueryParameter String baseUrl, @QueryParameter String sshCredentialsId)
- Specified by:
doFillSshCredentialsIdItems
in interfaceBitbucketScmFormFill
-
doTestConnection
@POST public FormValidation doTestConnection(@AncestorInPath Item context, @QueryParameter String serverId, @QueryParameter String credentialsId, @QueryParameter String projectName, @QueryParameter String repositoryName, @QueryParameter String mirrorName)
- Specified by:
doTestConnection
in interfaceBitbucketScmFormValidation
-
getBitbucketClientFactoryProvider
public BitbucketClientFactoryProvider getBitbucketClientFactoryProvider()
-
getBitbucketExternalLinkUtils
public BitbucketExternalLinkUtils getBitbucketExternalLinkUtils()
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<jenkins.scm.api.SCMSource>
-
getExtensionDescriptors
public List<hudson.plugins.git.extensions.GitSCMExtensionDescriptor> getExtensionDescriptors()
- Specified by:
getExtensionDescriptors
in interfaceBitbucketScmFormFill
-
getGitTools
public List<hudson.plugins.git.GitTool> getGitTools()
- Specified by:
getGitTools
in interfaceBitbucketScmFormFill
-
getRetryingWebhookHandler
public RetryingWebhookHandler getRetryingWebhookHandler()
-
getShowGitToolOptions
public boolean getShowGitToolOptions()
- Specified by:
getShowGitToolOptions
in interfaceBitbucketScmFormFill
-
getTraitsDefaults
public List<jenkins.scm.api.trait.SCMSourceTrait> getTraitsDefaults()
- Overrides:
getTraitsDefaults
in classjenkins.scm.api.SCMSourceDescriptor
-
getTraitsDescriptorLists
public List<jenkins.scm.impl.form.NamedArrayList<? extends jenkins.scm.api.trait.SCMSourceTraitDescriptor>> getTraitsDescriptorLists()
-
createCategories
protected jenkins.scm.api.SCMHeadCategory[] createCategories()
- Overrides:
createCategories
in classjenkins.scm.api.SCMSourceDescriptor
-
-