Package com.google.gerrit.entities
Class PatchSetInfo
- java.lang.Object
-
- com.google.gerrit.entities.PatchSetInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PatchSetInfo.ParentInfo
-
Field Summary
Fields Modifier and Type Field Description protected UserIdentity
author
Identity of who wrote the patch set.protected org.eclipse.jgit.lib.ObjectId
commitId
ID of commit.protected UserIdentity
committer
Identity of who committed the patch set to the VCS.protected String
description
Optional user-supplied description for the patch set.protected PatchSet.Id
key
protected String
message
The complete description of the change the patch set introduces.protected List<PatchSetInfo.ParentInfo>
parents
List of parents of the patch set.protected String
subject
First line ofmessage
.
-
Constructor Summary
Constructors Modifier Constructor Description protected
PatchSetInfo()
PatchSetInfo(PatchSet.Id k)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserIdentity
getAuthor()
org.eclipse.jgit.lib.ObjectId
getCommitId()
UserIdentity
getCommitter()
String
getDescription()
PatchSet.Id
getKey()
String
getMessage()
List<PatchSetInfo.ParentInfo>
getParents()
String
getSubject()
void
setAuthor(UserIdentity u)
void
setCommitId(org.eclipse.jgit.lib.AnyObjectId commitId)
void
setCommitter(UserIdentity u)
void
setDescription(String description)
void
setMessage(String m)
void
setParents(List<PatchSetInfo.ParentInfo> p)
void
setSubject(String s)
-
-
-
Field Detail
-
key
protected PatchSet.Id key
-
message
protected String message
The complete description of the change the patch set introduces.
-
author
protected UserIdentity author
Identity of who wrote the patch set. May differ fromcommitter
.
-
committer
protected UserIdentity committer
Identity of who committed the patch set to the VCS.
-
parents
protected List<PatchSetInfo.ParentInfo> parents
List of parents of the patch set.
-
commitId
protected org.eclipse.jgit.lib.ObjectId commitId
ID of commit.
-
description
protected String description
Optional user-supplied description for the patch set.
-
-
Constructor Detail
-
PatchSetInfo
protected PatchSetInfo()
-
PatchSetInfo
public PatchSetInfo(PatchSet.Id k)
-
-
Method Detail
-
getKey
public PatchSet.Id getKey()
-
getSubject
public String getSubject()
-
setSubject
public void setSubject(String s)
-
getMessage
public String getMessage()
-
setMessage
public void setMessage(String m)
-
getAuthor
public UserIdentity getAuthor()
-
setAuthor
public void setAuthor(UserIdentity u)
-
getCommitter
public UserIdentity getCommitter()
-
setCommitter
public void setCommitter(UserIdentity u)
-
setParents
public void setParents(List<PatchSetInfo.ParentInfo> p)
-
getParents
public List<PatchSetInfo.ParentInfo> getParents()
-
setCommitId
public void setCommitId(org.eclipse.jgit.lib.AnyObjectId commitId)
-
getCommitId
public org.eclipse.jgit.lib.ObjectId getCommitId()
-
setDescription
public void setDescription(String description)
-
getDescription
public String getDescription()
-
-