Class BitbucketWebhookMultibranchTrigger

    • Constructor Detail

      • BitbucketWebhookMultibranchTrigger

        @DataBoundConstructor
        public BitbucketWebhookMultibranchTrigger​(boolean pullRequestTrigger,
                                                  boolean refTrigger)
    • Method Detail

      • isApplicableForEventType

        public boolean isApplicableForEventType​(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
      • isPullRequestTrigger

        public boolean isPullRequestTrigger()
      • isRefTrigger

        public boolean isRefTrigger()