public class ListRobotComments extends java.lang.Object implements RestReadView<RevisionResource>
Modifier and Type | Field and Description |
---|---|
protected com.google.inject.Provider<com.google.gerrit.server.change.CommentJson> |
commentJson |
protected CommentsUtil |
commentsUtil |
protected com.google.inject.Provider<ReviewDb> |
db |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.List<RobotCommentInfo>> |
apply(RevisionResource rsrc)
Process the view operation by reading from the resource.
|
java.util.List<RobotCommentInfo> |
getComments(RevisionResource rsrc) |
protected final com.google.inject.Provider<ReviewDb> db
protected final com.google.inject.Provider<com.google.gerrit.server.change.CommentJson> commentJson
protected final CommentsUtil commentsUtil
public java.util.Map<java.lang.String,java.util.List<RobotCommentInfo>> apply(RevisionResource rsrc) throws com.google.gwtorm.server.OrmException
RestReadView
apply
in interface RestReadView<RevisionResource>
rsrc
- resource to read.BinaryResult
to avoid automatic conversion
to JSON.com.google.gwtorm.server.OrmException
public java.util.List<RobotCommentInfo> getComments(RevisionResource rsrc) throws com.google.gwtorm.server.OrmException
com.google.gwtorm.server.OrmException