Package com.google.gerrit.server.change
Class CommentResource
- java.lang.Object
-
- com.google.gerrit.server.change.CommentResource
-
- All Implemented Interfaces:
RestResource
public class CommentResource extends Object implements RestResource
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.google.gerrit.extensions.restapi.RestResource
RestResource.HasETag, RestResource.HasLastModified
-
-
Field Summary
Fields Modifier and Type Field Description static com.google.inject.TypeLiteral<RestView<CommentResource>>
COMMENT_KIND
-
Constructor Summary
Constructors Constructor Description CommentResource(RevisionResource rev, Comment c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Account.Id
getAuthorId()
Comment
getComment()
String
getId()
PatchSet
getPatchSet()
RevisionResource
getRevisionResource()
-
-
-
Field Detail
-
COMMENT_KIND
public static final com.google.inject.TypeLiteral<RestView<CommentResource>> COMMENT_KIND
-
-
Constructor Detail
-
CommentResource
public CommentResource(RevisionResource rev, Comment c)
-
-
Method Detail
-
getPatchSet
public PatchSet getPatchSet()
-
getComment
public Comment getComment()
-
getId
public String getId()
-
getAuthorId
public Account.Id getAuthorId()
-
getRevisionResource
public RevisionResource getRevisionResource()
-
-