Class Comment
- java.lang.Object
-
- com.google.gerrit.extensions.client.Comment
-
- Direct Known Subclasses:
CommentInfo
,DraftInput
,ReviewInput.CommentInput
,ReviewInput.RobotCommentInput
public abstract class Comment extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Comment.Range
-
Field Summary
Fields Modifier and Type Field Description String
commitId
Hex commit SHA1 (as 40 characters hex string) of the commit of the patchset to which this comment applies.String
id
String
inReplyTo
Integer
line
Value 0 or null indicates a file comment, normal lines start at 1.String
message
Integer
parent
Integer
patchSet
Patch set number containing this commit.String
path
Comment.Range
range
Side
side
Timestamp
updated
-
Constructor Summary
Constructors Constructor Description Comment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Instant
getUpdated()
int
hashCode()
void
setUpdated(Instant when)
short
side()
-
-
-
Field Detail
-
patchSet
public Integer patchSet
Patch set number containing this commit.Only set in contexts where comments may come from multiple patch sets.
-
id
public String id
-
path
public String path
-
side
public Side side
-
parent
public Integer parent
-
line
public Integer line
Value 0 or null indicates a file comment, normal lines start at 1.
-
range
public Comment.Range range
-
inReplyTo
public String inReplyTo
-
updated
public Timestamp updated
-
message
public String message
-
commitId
public String commitId
Hex commit SHA1 (as 40 characters hex string) of the commit of the patchset to which this comment applies.
-
-