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