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