Package com.google.gerrit.server.util
Interface AttentionSetEmail.Factory
- Enclosing class:
- AttentionSetEmail
public static interface AttentionSetEmail.Factory
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(AttentionSetChangeEmailDecorator.AttentionSetChange attentionSetChange, 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 Details
-
create
AttentionSetEmail create(AttentionSetChangeEmailDecorator.AttentionSetChange attentionSetChange, 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:
attentionSetChange
- whether the user is added or removed.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.
-