Class PluginWebhookConfiguration

java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.impl.webhook.plugin.PluginWebhookConfiguration
All Implemented Interfaces:
BitbucketWebhookConfiguration, Describable<BitbucketWebhookConfiguration>

@Deprecated(since="937.0.0") public class PluginWebhookConfiguration extends Object implements BitbucketWebhookConfiguration
Deprecated.
  • Constructor Details

    • PluginWebhookConfiguration

      @DataBoundConstructor public PluginWebhookConfiguration(boolean manageHooks, @CheckForNull String credentialsId)
      Deprecated.
  • Method Details

    • isManageHooks

      public final boolean isManageHooks()
      Deprecated.
      Returns true if and only if Jenkins is supposed to auto-manage hooks for this end-point.
      Specified by:
      isManageHooks in interface BitbucketWebhookConfiguration
      Returns:
      true if and only if Jenkins is supposed to auto-manage hooks for this end-point.
    • getCredentialsId

      @CheckForNull public final String getCredentialsId()
      Deprecated.
      Returns the IdCredentials.getId() of the credentials to use for auto-management of hooks.
      Specified by:
      getCredentialsId in interface BitbucketWebhookConfiguration
      Returns:
      the IdCredentials.getId() of the credentials to use for auto-management of hooks.
    • getEndpointJenkinsRootURL

      public String getEndpointJenkinsRootURL()
      Deprecated.
      Description copied from interface: BitbucketWebhookConfiguration
      A custom Jenkins root URL to be used by the webhook implementation as part of the receiver callback endpoint.

      The returned value must ensure that ends with a slash /

      Specified by:
      getEndpointJenkinsRootURL in interface BitbucketWebhookConfiguration
      Returns:
      the verbatim setting provided by endpoint configuration
    • setEndpointJenkinsRootURL

      @DataBoundSetter public void setEndpointJenkinsRootURL(@CheckForNull String endpointJenkinsRootURL)
      Deprecated.
    • getDisplayName

      public String getDisplayName()
      Deprecated.
      Description copied from interface: BitbucketWebhookConfiguration
      Name to use to describe the hook implementation.
      Specified by:
      getDisplayName in interface BitbucketWebhookConfiguration
      Returns:
      the name to use for the implementation
    • getId

      @NonNull public String getId()
      Deprecated.
      Description copied from interface: BitbucketWebhookConfiguration
      The hook implementation identifier.
      Specified by:
      getId in interface BitbucketWebhookConfiguration
      Returns:
      the unique identifier for this implementation
    • getManager

      public Class<? extends BitbucketWebhookManager> getManager()
      Deprecated.
      Description copied from interface: BitbucketWebhookConfiguration
      Returns the implementation that is in charge to apply this configuration to the Bitbucket.
      Specified by:
      getManager in interface BitbucketWebhookConfiguration
      Returns:
      a manager class specific for this configuration.