public class ChangeSet
extends java.lang.Object
This class is not thread safe.
Constructor and Description |
---|
ChangeSet(ChangeData change) |
ChangeSet(java.lang.Iterable<ChangeData> changes) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.SetMultimap<com.google.gerrit.reviewdb.client.Project.NameKey,com.google.gerrit.reviewdb.client.Branch.NameKey> |
branchesByProject() |
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.Multimap<com.google.gerrit.reviewdb.client.Project.NameKey,com.google.gerrit.reviewdb.client.Change.Id> |
changesByProject() |
com.google.common.collect.ImmutableSet<com.google.gerrit.reviewdb.client.Change.Id> |
ids() |
java.util.Set<com.google.gerrit.reviewdb.client.PatchSet.Id> |
patchIds() |
int |
size() |
java.lang.String |
toString() |
public ChangeSet(java.lang.Iterable<ChangeData> changes)
public ChangeSet(ChangeData change)
public com.google.common.collect.ImmutableSet<com.google.gerrit.reviewdb.client.Change.Id> ids()
public java.util.Set<com.google.gerrit.reviewdb.client.PatchSet.Id> patchIds() throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public com.google.common.collect.SetMultimap<com.google.gerrit.reviewdb.client.Project.NameKey,com.google.gerrit.reviewdb.client.Branch.NameKey> branchesByProject() throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
public com.google.common.collect.Multimap<com.google.gerrit.reviewdb.client.Project.NameKey,com.google.gerrit.reviewdb.client.Change.Id> changesByProject() throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException
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 int size()
public java.lang.String toString()
toString
in class java.lang.Object