public final class ClaimEmailer extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
sendEmailIfConfigured(String claimedByUser,
String assignedByUser,
String build,
String reason,
String url)
Sends an email to the assignee indicating that the given build has been assigned.
|
public static void sendEmailIfConfigured(String claimedByUser, String assignedByUser, String build, String reason, String url) throws javax.mail.MessagingException, IOException, InterruptedException
claimedByUser - name of the claiming userassignedByUser - name of the assigner userbuild - the build/action which has been assignedreason - the reason given for the assignmenturl - the URL the user can view for the assigned buildjavax.mail.MessagingException - if there has been some problem with sending the emailIOException - if there is an IO problem when sending the mailInterruptedException - if the send operation is interruptedCopyright © 2016–2020. All rights reserved.