Interface BitbucketWebhookTrigger
- All Known Implementing Classes:
BitbucketWebhookTriggerImpl
public interface BitbucketWebhookTrigger
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Is the trigger applicable for the given webhook.void
trigger
(BitbucketWebhookTriggerRequest triggerRequest)
-
Method Details
-
trigger
-
isApplicableForEvent
Is the trigger applicable for the given webhook. If the trigger is configured for RefChange and the event is a PR opened event it should return false. The trigger should NOT trigger as a result of this call.- Parameters:
event
- the webhook as it was received- Returns:
- true if this trigger is applicable to the given webhook
- Since:
- 3.0.0
-