Class EmailArguments
- java.lang.Object
-
- com.google.gerrit.server.mail.send.EmailArguments
-
public class EmailArguments extends Object
Arguments used for sending notification emails.Notification emails are sent by out by
OutgoingEmail
and it's subclasses, so called senders. To construct an email the sender class needs to get various other classes injected. Instead of injecting these classes into the sender classes directly, they only getEmailArguments
injected andEmailArguments
provides them all dependencies that they need.This class is public because plugins need access to it for sending emails.