Package com.thepluginpeople.jemhod.api
Interface IRecipientUtils
public interface IRecipientUtils
Utility object used to add recipients dynamically when processing events, post functions and ad-hoc notifications.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addEmailRecipients
(String emailRecipientCsv) Adds the email addresses (CSV) to the email only user recipients of notifications.void
addGroupRecipients
(String groupRecipientCsv) Adds the users of the provided groups (CSV) to the user recipients of notifications.void
addUserRecipients
(String userRecipientCsv) Adds the users (CSV) to the user recipients of notifications.
-
Method Details
-
addEmailRecipients
Adds the email addresses (CSV) to the email only user recipients of notifications. If an email is not valid, a warning will be reported in the process output.- Parameters:
emailRecipientCsv
- a CSV string of email addresses.
-
addUserRecipients
Adds the users (CSV) to the user recipients of notifications. If a user doesn't exist, a warning will be reported in the process output.- Parameters:
userRecipientCsv
- a CSV string of Jira user names.
-
addGroupRecipients
Adds the users of the provided groups (CSV) to the user recipients of notifications. If a group doesn't exist, a warning will be reported in the process output.- Parameters:
groupRecipientCsv
- a CSV string of Jira group names.
-