Interface BitbucketWebhookTrigger
-
- All Known Implementing Classes:
BitbucketWebhookTriggerImpl
public interface BitbucketWebhookTrigger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isApplicableForEvent(AbstractWebhookEvent event)
Is the trigger applicable for the given webhook.void
trigger(BitbucketWebhookTriggerRequest triggerRequest)
-
-
-
Method Detail
-
trigger
void trigger(BitbucketWebhookTriggerRequest triggerRequest)
-
isApplicableForEvent
boolean isApplicableForEvent(AbstractWebhookEvent event)
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
-
-