Allow ignore refs set to be null

Plugins which uses global-refdb doesn't have to provide set of refs to
ignore.
Guice @Nullable and @Named annotation cannot be combined
together. If plugin will not provide list of refs to be ignored
exception will be thrown.

Make also all ignoredRefs ImmutableSet.

Bug: Issue 13971
Change-Id: I70f03090fe8c32155d18b2a99df65d3de2d21314
14 files changed
tree: 014de442eb96c0c8e56d1b1133ff6db24ee19d1f
  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.