Package com.thepluginpeople.jemhod.api
Interface IProfileJira
public interface IProfileJira
This bean represents the profile configuration that it's processing a message. It used when running velocity templates during inbound processing.
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
boolean
boolean
boolean
boolean
boolean
-
Method Details
-
getForwardUserEmailAddresses
- Returns:
- the email addresses used to notify problems to jemhc administrators
-
getCatchEmailAddresses
- Returns:
- the catch email address regexps.
-
getNonCatchEmailAction
InvalidMessageEmailAction getNonCatchEmailAction()- Returns:
- the action to be taken when no recipient matches any catch email address regexs.
-
getWhitelistedSenderRegexes
- Returns:
- if not empty, the only sender allowed to be processed.
-
getBlacklistedSenderRegexes
- Returns:
- the senders that are not allowed to be processed.
-
getBlacklistedRecipientRegexes
- Returns:
- if the email contain any recipient mathing one of these regexps, the email will be excluded from processing.
-
getGlobalBlacklistAction
InvalidMessageEmailAction getGlobalBlacklistAction()- Returns:
- the action to be performed when the email has been excluded from processing due to a global configuration.
-
getProfileBlacklistAction
InvalidMessageEmailAction getProfileBlacklistAction()- Returns:
- the action to be performed when the email has been excluded from processing due to a profile configuration.
-
getErrorOutcomeAction
InvalidMessageEmailAction getErrorOutcomeAction()- Returns:
- the action to be performed when there has been an error processing an email.
-
getVersion
int getVersion()- Returns:
- the profile version.
-
getForwardEmailMessageLevelThreshold
FormMessageType getForwardEmailMessageLevelThreshold()- Returns:
- the minimum level of the processing report that will be forwarded to the forward email address.
-
getRecipientsHeaders
- Returns:
- the extra headers sed to know the recipients.
-
getPrecedenceBulkAction
PrecedenceBulkAction getPrecedenceBulkAction()- Returns:
- The action to be taken when a message contains Precedence: bulk header
-
getDropMessagesWithHeaders
List<KeyValueConfig> getDropMessagesWithHeaders()- Returns:
- messages with any of these header and value will be dropped.
-
isPreProcessingStorageEnabled
boolean isPreProcessingStorageEnabled()- Returns:
- if the pre processing task are enabled.
-
isQuotedAddressRemovalTaskEnabled
boolean isQuotedAddressRemovalTaskEnabled()- Returns:
- if the quoted address removal pre-processing task is enabled.
-
isDoubleRouteAddressRemovalTaskEnabled
boolean isDoubleRouteAddressRemovalTaskEnabled()- Returns:
- if the double route address removal pre-processing task is enabled.
-
isContentTypeMapTaskEnabled
boolean isContentTypeMapTaskEnabled()- Returns:
- if the content type map pre-processed task is enabled.
-
getContentTypeMapping
List<KeyValueConfig> getContentTypeMapping()- Returns:
- the mapping configuration content type map pre-processed task uses to replace content types
-
isScriptedMessagePreProcessingTaskEnabled
boolean isScriptedMessagePreProcessingTaskEnabled()- Returns:
- if the scripted pre-processing task is enabled.
-
getPrecedenceBulkMessagesThreshold
Integer getPrecedenceBulkMessagesThreshold()- Returns:
- how many messages can a sender (from address) can send messages before considering the messages as bulk messages.
-
getRuleEvaluationStrategy
RuleEvaluationStrategy getRuleEvaluationStrategy()- Returns:
- the rule evaluation strategy.
-
getNonDeliveryEmailAction
NonDeliveryEmailAction getNonDeliveryEmailAction()- Returns:
- the action to be taken to bounced emails.
-
getBlacklistedSubjectRegexes
- Returns:
- subject regexep of the blacklisted emails by subject.
-
getIssueCommentLimitExceededAction
IssueCommentLimitExceededAction getIssueCommentLimitExceededAction()- Returns:
- what to to do with comments greater than Jira limit (32767 characters)
-
getIssueDescriptionLimitExceededAction
IssueCommentLimitExceededAction getIssueDescriptionLimitExceededAction()- Returns:
- what to to do with the description if it's greater than Jira limit (32767 characters)
-
isOauthUserImpersonationEnabled
boolean isOauthUserImpersonationEnabled()- Returns:
- if the oauth user impersonation is enabled.
-