Interface ScmRequestCheck


public interface ScmRequestCheck
Used to enforce a specific precondition for a repository hosting operation, such as a push or pull.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    check(ScmRequest request)
     
  • Method Details

    • check

      boolean check(@Nonnull ScmRequest request) throws IOException
      Parameters:
      request - the scm action to validate
      Returns:
      true if the check passed, false if the check failed and the request should be terminated
      Throws:
      IOException - if the supplied request threw an exception when handling an error