Package com.google.gerrit.server.change
Class HumanCommentResource
- java.lang.Object
-
- com.google.gerrit.server.change.HumanCommentResource
-
- All Implemented Interfaces:
RestResource
public class HumanCommentResource 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<HumanCommentResource>>
COMMENT_KIND
-
Constructor Summary
Constructors Constructor Description HumanCommentResource(RevisionResource rev, HumanComment c)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Account.Id
getAuthorId()
HumanComment
getComment()
String
getId()
PatchSet
getPatchSet()
RevisionResource
getRevisionResource()
-
-
-
Field Detail
-
COMMENT_KIND
public static final com.google.inject.TypeLiteral<RestView<HumanCommentResource>> COMMENT_KIND
-
-
Constructor Detail
-
HumanCommentResource
public HumanCommentResource(RevisionResource rev, HumanComment c)
-
-
Method Detail
-
getPatchSet
public PatchSet getPatchSet()
-
getComment
public HumanComment getComment()
-
getId
public String getId()
-
getAuthorId
public Account.Id getAuthorId()
-
getRevisionResource
public RevisionResource getRevisionResource()
-
-