Class PluginWebhookConfigurationBuilder
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.impl.webhook.plugin.PluginWebhookConfigurationBuilder
- All Implemented Interfaces:
BitbucketWebhookConfigurationBuilder
,ExtensionPoint
@Deprecated(since="937.1.0")
@Extension
public class PluginWebhookConfigurationBuilder
extends Object
implements BitbucketWebhookConfigurationBuilder
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionautoManaged
(String credentialsId) Deprecated.Enable the auto manage of webhook for each repository in a Jenkins project.build()
Deprecated.Returns an instance ofBitbucketWebhookConfiguration
using the provided configuration.callbackRootURL
(String callbackRootURL) Deprecated.Set the Jenkins root URL used to send event payload.getId()
Deprecated.Returns the identifier of builtBitbucketWebhookConfiguration
.
-
Constructor Details
-
PluginWebhookConfigurationBuilder
public PluginWebhookConfigurationBuilder()Deprecated.
-
-
Method Details
-
autoManaged
Deprecated.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
-
callbackRootURL
Deprecated.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
-
getId
Deprecated.Description copied from interface:BitbucketWebhookConfigurationBuilder
Returns the identifier of builtBitbucketWebhookConfiguration
.- Specified by:
getId
in interfaceBitbucketWebhookConfigurationBuilder
- Returns:
- configuration identifier
- See Also:
-
build
Deprecated.Description copied from interface:BitbucketWebhookConfigurationBuilder
Returns an instance ofBitbucketWebhookConfiguration
using the provided configuration.- Specified by:
build
in interfaceBitbucketWebhookConfigurationBuilder
- Returns:
- instance of
BitbucketWebhookConfiguration
-