Interface MailNotificationData
-
public interface MailNotificationDataPlug-in data for the mail notification escalation measure.- Author:
- Kevin Goeser
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classMailNotificationData.AddresseesDetermines how the addressees are resolved for an item.static classMailNotificationData.MailFieldFields which can be replaced by
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MailNotificationData.AddresseesgetAddressees()Returns how the addresses of the recipients are determined, cf.String[]getMailAddresses()StringgetMailBody()The template string for the mail body.StringgetMailSubject()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 Detail
-
ID
static final String ID
My plug-in ID.- See Also:
- Constant Field Values
-
-
Method Detail
-
getMailAddresses
String[] getMailAddresses()
- Returns:
- A list of mail addresses, only relevant if
getAddressees()doesn't returnMailNotificationData.Addressees.AssignmentMembers,MailNotificationData.Addressees.AssignmentSupervisorMembersorMailNotificationData.Addressees.AssignmentMembersAndSupervisors
-
setMailAddresses
void setMailAddresses(String[] addresses)
Setter forgetMailAddresses()- Parameters:
addresses-
-
getMailBody
String getMailBody() throws UnresolvedParameterReferenceException
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
void setMailBody(String body)
Setter forgetMailBody().- Parameters:
body-
-
getMailSubject
String getMailSubject() throws UnresolvedParameterReferenceException
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
void setMailSubject(String subject)
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
void setAddressees(MailNotificationData.Addressees addressees)
Setter forgetAddressees().- Parameters:
addressees-
-
-