Class CommentJson.HumanCommentFormatter
java.lang.Object
com.google.gerrit.server.restapi.change.CommentJson.HumanCommentFormatter
- Enclosing class:
- CommentJson
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidaddCommentContext(List<CommentInfo> allComments) protected CommentContextKeyprotected voidfillCommentInfo(Comment c, CommentInfo r, AccountLoader loader) format(HumanComment comment) format(Iterable<HumanComment> comments) com.google.common.collect.ImmutableList<CommentInfo> formatAsList(Iterable<HumanComment> comments) protected List<ContextLineInfo> toContextLineInfoList(CommentContext commentContext) protected CommentInfotoInfo(HumanComment c, AccountLoader loader) protected Comment.RangetoRange(Comment.Range commentRange) 
- 
Method Details- 
toInfo
- 
format- Throws:
- PermissionBackendException
 
- 
formatpublic Map<String,List<CommentInfo>> format(Iterable<HumanComment> comments) throws PermissionBackendException - Throws:
- PermissionBackendException
 
- 
formatAsListpublic com.google.common.collect.ImmutableList<CommentInfo> formatAsList(Iterable<HumanComment> comments) throws PermissionBackendException - Throws:
- PermissionBackendException
 
- 
addCommentContext
- 
toContextLineInfoList
- 
createCommentContextKey
- 
fillCommentInfo
- 
toRange
 
-