Class AbstractBitbucketWebhookConfigurationBuilderImpl
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.impl.webhook.AbstractBitbucketWebhookConfigurationBuilderImpl
- All Implemented Interfaces:
BitbucketWebhookConfigurationBuilder
,NativeBitbucketWebhookConfigurationBuilder
,ExtensionPoint
- Direct Known Subclasses:
CloudWebhookConfigurationBuilderImpl
,ServerWebhookConfigurationBuilderImpl
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public abstract class AbstractBitbucketWebhookConfigurationBuilderImpl
extends Object
implements NativeBitbucketWebhookConfigurationBuilder
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoManaged
(String credentialsId) Enable the auto manage of webhook for each repository in a Jenkins project.callbackRootURL
(String callbackRootURL) Set the Jenkins root URL used to send event payload.Enable the payload signature verification using the givenStringCredentials
.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookConfigurationBuilder
build, getId
-
Field Details
-
credentialsId
-
signatureId
-
callbackRootURL
-
-
Constructor Details
-
AbstractBitbucketWebhookConfigurationBuilderImpl
public AbstractBitbucketWebhookConfigurationBuilderImpl()
-
-
Method Details
-
autoManaged
Description copied from interface:BitbucketWebhookConfigurationBuilder
Enable the auto manage of webhook for each repository in a Jenkins project.- Specified by:
autoManaged
in interfaceBitbucketWebhookConfigurationBuilder
- Parameters:
credentialsId
- with admin right to add, update or delete webhook of a bitbucket repository- Returns:
- builder itself
-
signature
Description copied from interface:NativeBitbucketWebhookConfigurationBuilder
Enable the payload signature verification using the givenStringCredentials
.- Specified by:
signature
in interfaceNativeBitbucketWebhookConfigurationBuilder
- Parameters:
credentialsId
- used to verify the signature sent with in payload- Returns:
- the builder that can be used to customise a new instance of
BitbucketWebhookConfiguration
.
-
callbackRootURL
Description copied from interface:BitbucketWebhookConfigurationBuilder
Set the Jenkins root URL used to send event payload.- Specified by:
callbackRootURL
in interfaceBitbucketWebhookConfigurationBuilder
- Parameters:
callbackRootURL
- URL of Jenkins accessible from the Bitbucket server instance.- Returns:
- builder itself
-