Package com.google.gerrit.server.util
Interface AttentionSetEmail.Factory
-
- Enclosing class:
- AttentionSetEmail
public static interface AttentionSetEmail.Factory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AttentionSetEmail
create(AttentionSetSender sender, Context ctx, Change change, String reason, Account.Id attentionUserId)
factory for sending an email when adding users to the attention set or removing them from it.
-
-
-
Method Detail
-
create
AttentionSetEmail create(AttentionSetSender sender, Context ctx, Change change, String reason, Account.Id attentionUserId)
factory for sending an email when adding users to the attention set or removing them from it.- Parameters:
sender
- sender in charge of sending the email, can beAddToAttentionSetSender
orRemoveFromAttentionSetSender
.ctx
- context for sending the email.change
- the change that the user was added/removed in.reason
- reason for adding/removing the user.attentionUserId
- the user added/removed.
-
-