Add #getCombinedCheckState to the Check interface

This method is useful for callers who want to know the
combined check state of a patch set. For example,
in the follow-up change, the "ChecksSubmitRule" would
simply call this API to get the combined check state
of the latest patch set and then use that state to
decide whether a change is submittable or not.

Basic tests are added to verify the bahavior of this
API, more specific behaviors are covered by existing
"CombinedCheckStateTest".

Change-Id: I341dfdab8beaccd28d567d31196ab9a542661d24
8 files changed
tree: f350fe7ecdb05542a2e21fd39418ff349b419095
  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.