Class AbstractPluginWebhookProcessor

java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.impl.webhook.AbstractWebhookProcessor
com.cloudbees.jenkins.plugins.bitbucket.impl.webhook.plugin.AbstractPluginWebhookProcessor
All Implemented Interfaces:
BitbucketWebhookProcessor, ExtensionPoint
Direct Known Subclasses:
PluginPullRequestWebhookProcessor, PluginPushWebhookProcessor

@Deprecated(since="937.0.0") @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public abstract class AbstractPluginWebhookProcessor extends AbstractWebhookProcessor
Deprecated.
Abstract hook processor. Add new hook processors by extending this class and implement BitbucketWebhookProcessor.process(String, String, Map, BitbucketEndpoint), extract details from the hook payload and then fire an SCMEvent to dispatch it to the SCM API.
  • Constructor Details

    • AbstractPluginWebhookProcessor

      public AbstractPluginWebhookProcessor()
      Deprecated.
  • Method Details

    • canHandle

      @Deprecated public boolean canHandle(Map<String,String> headers, org.apache.commons.collections4.MultiValuedMap<String,String> parameters)
      Deprecated.
      Description copied from interface: BitbucketWebhookProcessor
      Called by first for this processor that must respond if is able to handle this specific request
      Parameters:
      headers - request
      parameters - request
      Returns:
      true if this processor is able to handle this hook request, false otherwise.