Don't support checks for change edits

Change edits are only visible to change owners
and thus are not useful to checker systems. Thus
this commit adds additional checks to reject
if the caller tries to create/get/list checks
on a change edit.

Instead of doing like this commit, there is another
option which simply returns an empty check set
for a change edit. However, this opens the door
for the client to depend on an unuseful feature
which may break them if we decide to turn it off
in the future.

Change-Id: Icdcbca3afb070813f6cb829c1de787eff1c63782
7 files changed
tree: 294342bed598c556ef076d0e9709fee67df6b4fd
  1. gr-checks/
  2. java/
  3. javatests/
  4. proto/
  5. resources/
  6. BUILD
  7. LICENSE
  8. 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.