Class CloudWebhookConfiguration.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<BitbucketWebhookConfiguration>
com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookDescriptor
com.cloudbees.jenkins.plugins.bitbucket.impl.webhook.AbstractBitbucketWebhookConfiguration.AbstractBitbucketWebhookDescriptorImpl
com.cloudbees.jenkins.plugins.bitbucket.impl.webhook.cloud.CloudWebhookConfiguration.DescriptorImpl
- Enclosing class:
- CloudWebhookConfiguration
@Symbol("cloudWebhook")
@Extension
public static class CloudWebhookConfiguration.DescriptorImpl
extends AbstractBitbucketWebhookConfiguration.AbstractBitbucketWebhookDescriptorImpl
-
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 -
Method Summary
Modifier and TypeMethodDescriptiondoFillCredentialsIdItems
(String credentialsId) Stapler form completion.doFillHookSignatureCredentialsIdItems
(String hookSignatureCredentialsId) Stapler form completion.boolean
isApplicable
(EndpointType type) Returns if this implementation can supports and can be installed by the given endpoint type.Methods inherited from class com.cloudbees.jenkins.plugins.bitbucket.impl.webhook.AbstractBitbucketWebhookConfiguration.AbstractBitbucketWebhookDescriptorImpl
checkPermission, doCheckEndpointJenkinsRootURL, getHookSignatureCredentialsIdItems
Methods 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
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<BitbucketWebhookConfiguration>
-
isApplicable
Description copied from class:BitbucketWebhookDescriptor
Returns if this implementation can supports and can be installed by the given endpoint type.- Specified by:
isApplicable
in classBitbucketWebhookDescriptor
- Parameters:
type
- of the endpoint- Returns:
true
if this implementation can manage payload from this endpoint,false
otherwise.
-
doFillCredentialsIdItems
Stapler form completion.- Parameters:
credentialsId
- selected credentials.- Returns:
- the available credentials.
-
doFillHookSignatureCredentialsIdItems
public ListBoxModel doFillHookSignatureCredentialsIdItems(@QueryParameter(fixEmpty=true) String hookSignatureCredentialsId) Stapler form completion.- Parameters:
hookSignatureCredentialsId
- selected hook signature credentials.- Returns:
- the available credentials.
-