v2.16-rc2
Introduce AdminApi interface and refactor existing code

The ReplicationQueue class was handling URI formats at several places,
repeating identical code, in order to distinguish the URI type (local,
remote SSH, remote Gerrit SSH) and then invoke appropriate method for an
admin operation (create-project, delete-project, update-head).

Introduce AdminApi interface and implement it for each type of the URI.
Move the URI type specific code into the subclass responsible for
handling that URI type.

Change-Id: Ie760bf3e143b1d143b6e81ac6cfa816ef1f8d016
7 files changed
tree: c192044970f2d20596242ab0bc460f98a562b136
  1. .settings/
  2. src/
  3. .gitignore
  4. .mailmap
  5. BUILD
  6. LICENSE