Move checker query methods from Checker to CheckerQuery

Checker remains mostly a dumb value type. CheckerQuery becomes a
non-singleton instance that can have members like RetryHelper injected.
The name stays the same, by a loose analogy to InternalChangeQuery.

In addition to allowing for simpler injection and to separate complex
executions from value types, this will allow us to reuse the query logic
without having an actual Checker instance available.

Change-Id: I7c2e703b676d5bcc08e7f0c8127a1e7293705087
5 files changed
tree: 48c32419c60354d4c9923bad273d9b725f5488af
  1. gr-checks/
  2. java/
  3. javatests/
  4. src/
  5. BUILD
  6. LICENSE
  7. 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.