Interface MailNotificationData
public interface MailNotificationData
Plug-in data for the mail notification escalation measure.
- Author:
- Kevin Goeser
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumDetermines how the addressees are resolved for an item.static enumFields which can be replaced by -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionReturns how the addresses of the recipients are determined, cf.String[]The template string for the mail body.The template string for the mail subject.voidsetAddressees(MailNotificationData.Addressees addressees) Setter forgetAddressees().voidsetMailAddresses(String[] addresses) Setter forgetMailAddresses()voidsetMailBody(String body) Setter forgetMailBody().voidsetMailSubject(String subject) Setter forgetMailSubject().
-
Field Details
-
ID
My plug-in ID.- See Also:
-
-
Method Details
-
getMailAddresses
String[] getMailAddresses()- Returns:
- A list of mail addresses, only relevant if
getAddressees()doesn't returnMailNotificationData.Addressees.AssignmentMembers,MailNotificationData.Addressees.AssignmentSupervisorMembersorMailNotificationData.Addressees.AssignmentMembersAndSupervisors
-
setMailAddresses
Setter forgetMailAddresses()- Parameters:
addresses-
-
getMailBody
The template string for the mail body. The template may contain all variables declared by the enumMailNotificationData.MailField.- Returns:
- The template for the mail body.
- Throws:
UnresolvedParameterReferenceException
-
setMailBody
Setter forgetMailBody().- Parameters:
body-
-
getMailSubject
The template string for the mail subject. The template may contain all variables declared by the enumMailNotificationData.MailField.- Returns:
- The template for the mail body.
- Throws:
UnresolvedParameterReferenceException
-
setMailSubject
Setter forgetMailSubject().- Parameters:
subject-
-
getAddressees
MailNotificationData.Addressees getAddressees()Returns how the addresses of the recipients are determined, cf.MailNotificationData.Addresseesfor more information.- Returns:
- Where to get the mail addresses from.
-
setAddressees
Setter forgetAddressees().- Parameters:
addressees-
-