Allow ignoring refs when checking for global-refdb

Global refdb may not store one or more refs which makes sense
only on the local refdb.

Allows specifying a generic set of refs instead of hardcoding
a single one. This flexibility allows the consumer plugins
(e.g. multi-site or high-availability) to bind the set of refs
that should be ignored.

Also tidy up static imports of Collections constants and
methods and remove redundant static and public modifiers in
interfaces.

Bug: Issue 13971
Change-Id: Iebea5d9a81b2d8743b2d27be90b74685cd42a7b6
13 files changed
tree: 872a9cd4fc571db0a8a01e6bc328fb4fb8180e84
  1. src/
  2. .gitignore
  3. BUILD
  4. Jenkinsfile
  5. LICENSE
  6. pom.xml
  7. README.md
README.md

Gerrit interface to a global-refdb

Global ref-database interface for use with Gerrit Code Review.

Enables the de-coupling between Gerrit, the multi-site plugin and the different implementations of a globally shared ref-database.

Design

The design for a global ref-db interface for Gerrit has been posted to the Gerrit Code Review project for review.