Modifier and Type | Class and Description |
---|---|
static class |
PatchSet.Id |
Modifier and Type | Field and Description |
---|---|
protected Timestamp |
createdOn
When this patch set was first introduced onto the change.
|
protected String |
description
Optional user-supplied description for this patch set.
|
protected String |
groups
Opaque group identifier, usually assigned during creation.
|
protected PatchSet.Id |
id |
protected String |
pushCertificate
Certificate sent with a push that created this patch set.
|
protected RevId |
revision |
protected Account.Id |
uploader |
Modifier | Constructor and Description |
---|---|
protected |
PatchSet() |
|
PatchSet(PatchSet.Id k) |
|
PatchSet(PatchSet src) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Timestamp |
getCreatedOn() |
String |
getDescription() |
List<String> |
getGroups() |
PatchSet.Id |
getId() |
int |
getPatchSetId() |
String |
getPushCertificate() |
String |
getRefName() |
RevId |
getRevision() |
Account.Id |
getUploader() |
int |
hashCode() |
static PatchSet.Id |
id(Change.Id changeId,
int id) |
static boolean |
isChangeRef(String name)
Is the reference name a change reference?
|
static boolean |
isRef(String name)
Deprecated.
use isChangeRef instead.
|
static String |
joinGroups(List<String> groups) |
void |
setCreatedOn(Timestamp ts) |
void |
setDescription(String description) |
void |
setGroups(List<String> groups) |
void |
setPushCertificate(String cert) |
void |
setRevision(RevId i) |
void |
setUploader(Account.Id who) |
static List<String> |
splitGroups(String joinedGroups) |
String |
toString() |
protected PatchSet.Id id
protected RevId revision
protected Account.Id uploader
protected Timestamp createdOn
protected String groups
This field is actually a comma-separated list of values, as in rare cases involving merge commits a patch set may belong to multiple groups.
Changes on the same branch having patch sets with intersecting groups are considered related, as in the "Related Changes" tab.
protected String pushCertificate
protected String description
When this field is null, the description was never set on the patch set. When this field is an empty string, the description was set and later cleared.
protected PatchSet()
public PatchSet(PatchSet.Id k)
public PatchSet(PatchSet src)
public static boolean isChangeRef(String name)
@Deprecated public static boolean isRef(String name)
public static PatchSet.Id id(Change.Id changeId, int id)
public PatchSet.Id getId()
public int getPatchSetId()
public RevId getRevision()
public void setRevision(RevId i)
public Account.Id getUploader()
public void setUploader(Account.Id who)
public Timestamp getCreatedOn()
public void setCreatedOn(Timestamp ts)
public String getRefName()
public String getPushCertificate()
public void setPushCertificate(String cert)
public String getDescription()
public void setDescription(String description)