Interface MailNotificationData
-
public interface MailNotificationData
Plug-in data for the mail notification escalation measure.- Author:
- Kevin Goeser
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
MailNotificationData.Addressees
Determines how the addressees are resolved for an item.static class
MailNotificationData.MailField
Fields which can be replaced by
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MailNotificationData.Addressees
getAddressees()
Returns how the addresses of the recipients are determined, cf.String[]
getMailAddresses()
String
getMailBody()
The template string for the mail body.String
getMailSubject()
The template string for the mail subject.void
setAddressees(MailNotificationData.Addressees addressees)
Setter forgetAddressees()
.void
setMailAddresses(String[] addresses)
Setter forgetMailAddresses()
void
setMailBody(String body)
Setter forgetMailBody()
.void
setMailSubject(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.AssignmentSupervisorMembers
orMailNotificationData.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.Addressees
for more information.- Returns:
- Where to get the mail addresses from.
-
setAddressees
void setAddressees(MailNotificationData.Addressees addressees)
Setter forgetAddressees()
.- Parameters:
addressees
-
-
-