public interface IJEMHVelocityContextUtils
| Modifier and Type | Field and Description | 
|---|---|
static String | 
ADDITIONAL_ATTACHMENTS  | 
static String | 
ADDITIONAL_CC  | 
static String | 
ADDITIONAL_TO  | 
static String | 
X_JEMH_ADHOC_PREFIX
used to prefix mail header keys themselves, used to avoid conflicts for issue attributes 
 | 
static String | 
X_JEMH_RAW_PREFIX
unlike the above, this is only used to uniquely store 'raw' mail headers in the 'map' prior to application 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addMailHeader(String key,
             String value)  | 
void | 
addRawMailHeader(String key,
                String value)  | 
void | 
addRecipientAddress(String recipientType,
                   String addressCsv)  | 
void | 
addRecipientGroup(String recipientType,
                 String groupName)  | 
void | 
addRecipientsFromRole(String recipientType,
                     String issueKey,
                     com.atlassian.jira.project.Project project,
                     String roleName)  | 
void | 
dropMessage(String reason)
During Script Field Processor handling of a message, allows a given message to be dropped immediately with no further processing 
 | 
void | 
filterMessage(String reason)
During Script Field Processor handling of a message, allows a given message to not be processed but filtered (like drop), here for completeness and differentation to drop 
 | 
String | 
filterText(String text)  | 
void | 
forwardMessage(String reason)
During Script Field Processor handling of a message, allows a given message to not be processed but forwarded to the Profile defined 'Forward' user 
 | 
Properties | 
getCommentProperties(com.atlassian.jira.issue.comments.Comment comment)  | 
String | 
getInhibitSendingReason()  | 
Map<String,List<String>> | 
getParams()  | 
IJEMHMessageFilterProvider.ProcessOutcome | 
getProcessOutcome()  | 
javax.mail.Message.RecipientType | 
getRecipientType(String type)  | 
String | 
getRejectReason()  | 
com.atlassian.jira.user.ApplicationUser | 
getUserByEmail(javax.mail.internet.InternetAddress address)  | 
com.atlassian.jira.user.ApplicationUser | 
getUserByEmail(String emailStr)  | 
boolean | 
isInhibitSending()  | 
boolean | 
isPrivateJSDComment(com.atlassian.jira.issue.comments.Comment c)  | 
void | 
rejectMessage(String reason)
During Script Field Processor handling of a message, allows a given message to be rejected to the initator, with the given reason 
 | 
void | 
setInhibitSending(boolean val)
Used during sending messages to inhibit sending, specifically needed due to split phase issue creation/update to enable ignoring ISSUE_CREATED events when JEMH has not yet added attachments to the issue, that are potentially required later. 
 | 
void | 
setInhibitSendingReason(String reason)  | 
static final String X_JEMH_ADHOC_PREFIX
static final String X_JEMH_RAW_PREFIX
static final String ADDITIONAL_TO
static final String ADDITIONAL_CC
static final String ADDITIONAL_ATTACHMENTS
String filterText(String text)
text - to Filters the input text through some Mime decodingvoid setInhibitSending(boolean val)
val, - true to inhibitboolean isInhibitSending()
void setInhibitSendingReason(String reason)
String getInhibitSendingReason()
boolean isPrivateJSDComment(com.atlassian.jira.issue.comments.Comment c)
Properties getCommentProperties(com.atlassian.jira.issue.comments.Comment comment)
void addRecipientsFromRole(String recipientType, String issueKey, com.atlassian.jira.project.Project project, String roleName)
Map<String,List<String>> getParams()
javax.mail.Message.RecipientType getRecipientType(String type)
com.atlassian.jira.user.ApplicationUser getUserByEmail(javax.mail.internet.InternetAddress address)
com.atlassian.jira.user.ApplicationUser getUserByEmail(String emailStr)
void dropMessage(String reason)
reason, - a non empty value used in auditingvoid forwardMessage(String reason)
reason, - a non empty value used in auditingvoid filterMessage(String reason)
reason, - a non empty value used in auditingvoid rejectMessage(String reason)
reason, - a non empty value used in auditingIJEMHMessageFilterProvider.ProcessOutcome getProcessOutcome()
String getRejectReason()
Copyright © 2008–2018 The Plugin People. All rights reserved.