AtomicityHelper: Use factory to instantiate SubmitRuleEvaluator

In change I429e7a67e the constructor of SubmitRuleEvaluator was
made private and a factory was introduced.

Rework the instantiation of SubmitRuleEvaluator to use the factory.

As a result, it is no longer necessary to inject AccountCache and
Accounts instances.

Change-Id: I97cb244f10b1c20d5010800d58b62cdd87b54bd6
1 file changed
tree: 19dbd9709ce96c633bbef38c82bb5b7c579dc5d3
  1. src/
  2. .gitignore
  3. BUILD
  6. test.rb
  7. tests.txt


Build Status

A gerrit plugin that takes care of automatically merging reviews when all approvals are present.

Also, it introduces the concept of cross-repository reviews. Cross repository reviews are reviews that share a common topic, and are all in different gerrit repositories. They will be merged at the same time, when all approvals for all reviews are present, and all reviews are mergeable.

Requires Gerrit 2.14 or later.