Package com.google.gerrit.server
Class ApprovalInference
- java.lang.Object
-
- com.google.gerrit.server.ApprovalInference
-
public class ApprovalInference extends Object
Computes approvals for a given patch set by looking at approvals applied to the given patch set and by additionally inferring approvals from the patch set's parents. The latter is done by asserting a change's kind and checking the project config for allowed forward-inference.The result of a copy may either be stored, as when stamping approvals in the database at submit time, or refreshed on demand, as when reading approvals from the NoteDb.