Package com.google.gerrit.server
Class ReviewerSet
java.lang.Object
com.google.gerrit.server.ReviewerSet
Set of reviewers on a change.
A given account may appear in multiple states and at different timestamps. No reviewers with
state ReviewerStateInternal.REMOVED are ever exposed by this interface.
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableSet<Account.Id> all()com.google.common.collect.ImmutableTable<ReviewerStateInternal, Account.Id, Instant> asTable()com.google.common.collect.ImmutableSet<Account.Id> byState(ReviewerStateInternal state) static ReviewerSetempty()booleanstatic ReviewerSetfromApprovals(Iterable<PatchSetApproval> approvals) static ReviewerSetfromTable(com.google.common.collect.Table<ReviewerStateInternal, Account.Id, Instant> table) inthashCode()toString()
-
Method Details
-
fromApprovals
-
fromTable
public static ReviewerSet fromTable(com.google.common.collect.Table<ReviewerStateInternal, Account.Id, Instant> table) -
empty
-
all
-
byState
-
asTable
-
equals
-
hashCode
public int hashCode() -
toString
-