public class MailProcessor extends Object
Constructor and Description |
---|
MailProcessor(AccountByEmailCache accountByEmailCache,
BatchUpdate.Factory buf,
ChangeMessagesUtil changeMessagesUtil,
CommentsUtil commentsUtil,
OneOffRequestContext oneOffRequestContext,
PatchListCache patchListCache,
PatchSetUtil psUtil,
com.google.inject.Provider<InternalChangeQuery> queryProvider,
DynamicMap<MailFilter> mailFilters,
EmailReviewComments.Factory outgoingMailFactory,
ApprovalsUtil approvalsUtil,
CommentAdded commentAdded,
AccountCache accountCache,
com.google.inject.Provider<String> canonicalUrl) |
Modifier and Type | Method and Description |
---|---|
void |
process(MailMessage message)
Parse comments from MailMessage and persist them on the change.
|
@Inject public MailProcessor(AccountByEmailCache accountByEmailCache, BatchUpdate.Factory buf, ChangeMessagesUtil changeMessagesUtil, CommentsUtil commentsUtil, OneOffRequestContext oneOffRequestContext, PatchListCache patchListCache, PatchSetUtil psUtil, com.google.inject.Provider<InternalChangeQuery> queryProvider, DynamicMap<MailFilter> mailFilters, EmailReviewComments.Factory outgoingMailFactory, ApprovalsUtil approvalsUtil, CommentAdded commentAdded, AccountCache accountCache, com.google.inject.Provider<String> canonicalUrl)
public void process(MailMessage message) throws com.google.gwtorm.server.OrmException
message
- MailMessage to process.com.google.gwtorm.server.OrmException