Interface BitbucketWebhookConfigurationBuilder
- All Superinterfaces:
- ExtensionPoint
- All Known Subinterfaces:
- NativeBitbucketWebhookConfigurationBuilder
- All Known Implementing Classes:
- AbstractBitbucketWebhookConfigurationBuilderImpl,- CloudWebhookConfigurationBuilderImpl,- PluginWebhookConfigurationBuilder,- ServerWebhookConfigurationBuilderImpl
Base interface that a builder must implement or extend to provide an instance
 of 
BitbucketWebhookConfiguration.- Since:
- 937.1.0
- 
Nested Class SummaryNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Method SummaryModifier and TypeMethodDescriptionautoManaged(String credentialsId) Enable the auto manage of webhook for each repository in a Jenkins project.build()Returns an instance ofBitbucketWebhookConfigurationusing the provided configuration.callbackRootURL(String callbackRootURL) Set the Jenkins root URL used to send event payload.getId()Returns the identifier of builtBitbucketWebhookConfiguration.
- 
Method Details- 
getIdReturns the identifier of builtBitbucketWebhookConfiguration.- Returns:
- configuration identifier
- See Also:
 
- 
autoManagedEnable the auto manage of webhook for each repository in a Jenkins project.- Parameters:
- credentialsId- with admin right to add, update or delete webhook of a bitbucket repository
- Returns:
- builder itself
 
- 
callbackRootURLSet the Jenkins root URL used to send event payload.- Parameters:
- callbackRootURL- URL of Jenkins accessible from the Bitbucket server instance.
- Returns:
- builder itself
 
- 
buildBitbucketWebhookConfiguration build()Returns an instance ofBitbucketWebhookConfigurationusing the provided configuration.- Returns:
- instance of BitbucketWebhookConfiguration
 
 
-