public class ChangeSet
extends java.lang.Object
MergeSuperSet constructs ChangeSets to accumulate intermediate results toward the ChangeSet it returns when done.
This class is not thread safe.
Constructor and Description |
---|
ChangeSet(ChangeData change,
boolean visible) |
ChangeSet(java.lang.Iterable<ChangeData> changes,
java.lang.Iterable<ChangeData> hiddenChanges) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableCollection<ChangeData> |
changes() |
com.google.common.collect.Multimap<com.google.gerrit.reviewdb.client.Branch.NameKey,ChangeData> |
changesByBranch() |
com.google.common.collect.ImmutableMap<com.google.gerrit.reviewdb.client.Change.Id,ChangeData> |
changesById() |
boolean |
furtherHiddenChanges() |
com.google.common.collect.ImmutableSet<com.google.gerrit.reviewdb.client.Change.Id> |
ids() |
com.google.common.collect.ImmutableList<ChangeData> |
nonVisibleChanges() |
com.google.common.collect.ImmutableSet<com.google.gerrit.reviewdb.client.Change.Id> |
nonVisibleIds() |
int |
size() |
java.lang.String |
toString() |
public ChangeSet(java.lang.Iterable<ChangeData> changes, java.lang.Iterable<ChangeData> hiddenChanges)
public ChangeSet(ChangeData change, boolean visible)
public com.google.common.collect.ImmutableSet<com.google.gerrit.reviewdb.client.Change.Id> ids()
public com.google.common.collect.ImmutableMap<com.google.gerrit.reviewdb.client.Change.Id,ChangeData> changesById()
public com.google.common.collect.Multimap<com.google.gerrit.reviewdb.client.Branch.NameKey,ChangeData> changesByBranch() throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public com.google.common.collect.ImmutableCollection<ChangeData> changes()
public com.google.common.collect.ImmutableSet<com.google.gerrit.reviewdb.client.Change.Id> nonVisibleIds()
public com.google.common.collect.ImmutableList<ChangeData> nonVisibleChanges()
public boolean furtherHiddenChanges()
public int size()
public java.lang.String toString()
toString
in class java.lang.Object