Fail with ConfigInvalidException if checker config contains invalid status

If in a checker config file the status is set to a value that cannot be
resolved to a CheckerStatus enum we failed with an
IllegalArgumentException, but since this is an invalid config it's
better to throw ConfigInvalidException.

Signed-off-by: Edwin Kempin <ekempin@google.com>
Change-Id: Ibb8c6ac666ff58196663003e1fe037bdd64a664b
6 files changed
tree: 768c50660137f2e6d4fdf41168996be5f97c74d5
  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.