parse
public static List<MailComment> parse(MailMessage email,
Collection<Comment> comments,
String changeUrl)
Parses comments from html email.
- Parameters:
email
- MailMessage as received from the email service.
comments
- A specific set of comments as sent out in the original notification email.
Comments are expected to be in the same order as they were sent out to in the email
changeUrl
- Canonical change URL that points to the change on this Gerrit instance.
Example: https://go-review.googlesource.com/#/c/91570
- Returns:
- List of MailComments parsed from the html part of the email.