Implement SubmitRule for checks

This commit implements a new "SubmitRule" for checks.

A check result is blocking if:
* the checker who created the check result is still
applicable to the change.
* the checker who created the check result is enabled.
* the checker who created the check result has expected
"BlockingCondition", i.e. "STATE_NOT_PASSING".
* the check result hasn't passed.

With the parent commit, the above condition is simplified
to verify the "CombinedCheckState" of required checkers
are passing.

Change-Id: I4bc92b09c5db5cdd7da6e958bda98ad973f06e73
5 files changed
tree: 8e02a51bff7d34b1ef62566c5cc2f5deda1a681f
  1. java/
  2. javatests/
  3. src/
  4. BUILD
  5. LICENSE
  6. README.md
README.md

Gerrit Code Review Checks Plugin

This plugin provides a unified experience for checkers (CI systems, static analyzers, etc.) to integrate with Gerrit Code Review.