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.-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class com.cloudbees.jenkins.plugins.bitbucket.impl.webhook.AbstractWebhookProcessor
EVENT_TYPE_HEADER, logger, REQUEST_ID_CLOUD_HEADER, REQUEST_ID_SERVER_HEADER, SERVER_URL_PARAMETER, SIGNATURE_HEADERFields inherited from interface com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookProcessor
SCAN_ON_EMPTY_CHANGES_PROPERTY_NAME -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.cloudbees.jenkins.plugins.bitbucket.impl.webhook.AbstractWebhookProcessor
getEventType, getOrigin, getServerURL, scmSourceReIndex, verifyPayloadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cloudbees.jenkins.plugins.bitbucket.api.webhook.BitbucketWebhookProcessor
buildHookContext, notifyEvent, process, reindexOnEmptyChanges
-
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:BitbucketWebhookProcessorCalled by first for this processor that must respond if is able to handle this specific request- Parameters:
headers- requestparameters- request- Returns:
trueif this processor is able to handle this hook request,falseotherwise.
-