Interface RepositoryHookTrigger

All Known Implementing Classes:
StandardRepositoryHookTrigger

public interface RepositoryHookTrigger
Describes the trigger for a repository-hook invocation.
Since:
5.0
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
  • Method Details

    • getId

      @Nonnull String getId()
      Returns:
      the trigger identifier
    • isAbortOnFirstVeto

      boolean isAbortOnFirstVeto()
      Returns:
      whether a RepositoryHookService.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.