public interface

ScmRequestCheck

com.atlassian.stash.scm.ScmRequestCheck

Class Overview

Used to enforce a specific precondition for a repository hosting operation, such as a push or pull.

Summary

Public Methods
boolean check(ScmRequest request)

Public Methods

public boolean check (ScmRequest request)

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