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 TypeMethodDescriptionprotected voiddoFillCredentialsIdItems(String credentialsId) Stapler form completion.doFillHookSignatureCredentialsIdItems(String hookSignatureCredentialsId) Stapler form completion.getStats()booleanisApplicable(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, doClear, doShowStats, getHookSignatureCredentialsIdItemsMethods 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
-
clearCaches
protected void clearCaches()- Specified by:
clearCachesin classAbstractBitbucketWebhookConfiguration.AbstractBitbucketWebhookDescriptorImpl
-
getStats
- Specified by:
getStatsin classAbstractBitbucketWebhookConfiguration.AbstractBitbucketWebhookDescriptorImpl
-
getDisplayName
- Overrides:
getDisplayNamein classDescriptor<BitbucketWebhookConfiguration>
-
isApplicable
Description copied from class:BitbucketWebhookDescriptorReturns if this implementation can supports and can be installed by the given endpoint type.- Specified by:
isApplicablein classBitbucketWebhookDescriptor- Parameters:
type- of the endpoint- Returns:
trueif this implementation can manage payload from this endpoint,falseotherwise.
-
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.
-