public interface

RepositoryHookTrigger

com.atlassian.bitbucket.hook.repository.RepositoryHookTrigger
Known Indirect Subclasses

Class Overview

Describes the trigger for a repository-hook invocation.

Summary

Public Methods
@Nonnull String getId()
boolean isAbortOnFirstVeto()

Public Methods

@Nonnull public String getId ()

Returns
  • the trigger identifier

public boolean isAbortOnFirstVeto ()

Returns
  • whether a preUpdate(RepositoryHookRequest) invocation should stop calling other repository-hook modules after the first veto. Return false if all hooks need to be called even after one hook vetoes the request.