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 ReviewerSet
empty()
boolean
static ReviewerSet
fromApprovals
(Iterable<PatchSetApproval> approvals) static ReviewerSet
fromTable
(com.google.common.collect.Table<ReviewerStateInternal, Account.Id, Instant> table) int
hashCode()
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
-