Package com.javahollic.jira.emh.api
Interface IJEMHRuntimeConfig
-
- All Superinterfaces:
IJEMHDataTypes
,IJEMHKeys
,IJEMHSystemConfigHelper
public interface IJEMHRuntimeConfig extends IJEMHSystemConfigHelper, IJEMHKeys, IJEMHDataTypes
To whom it may concern: 1. Sorry for woeful lack of documentation on what all these fields relate to, it will improve :) 2. The references in the .ao. package, will of course not resolve, so those fields will be unavailable. API friendly versions will be added in time.- Author:
- andy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.javahollic.jira.emh.api.IJEMHDataTypes
IJEMHDataTypes.AddOrigBodyToIssueCondition, IJEMHDataTypes.AdHocNotificationType, IJEMHDataTypes.ArchivedIssueHandlingActions, IJEMHDataTypes.AttachEmailToIssueCondition, IJEMHDataTypes.AuditReProcessingOption, IJEMHDataTypes.AutoLabelCaptureMode, IJEMHDataTypes.AutoLabelSenderStorage, IJEMHDataTypes.BlacklistOutcomeHandling, IJEMHDataTypes.BodyCleanupOrder, IJEMHDataTypes.CleanupType, IJEMHDataTypes.CLUSTER_LOCK_STATUSES, IJEMHDataTypes.CLUSTER_LOCK_TYPES, IJEMHDataTypes.CommentCountLimitAction, IJEMHDataTypes.CommentHeaderCondition, IJEMHDataTypes.CommentMaxCharsLimitAction, IJEMHDataTypes.CommentRateLimitExceededAction, IJEMHDataTypes.ContentTypePreference, IJEMHDataTypes.CreateUserFromEmailCondition, IJEMHDataTypes.CustomEventFireMode, IJEMHDataTypes.CustomFieldDefaultApplyRule, IJEMHDataTypes.CustomFieldValueTypes, IJEMHDataTypes.DEFAULT_LABEL_HANDLING, IJEMHDataTypes.DIRECTIVE_SET_STATUS, IJEMHDataTypes.EmailFormatTypes, IJEMHDataTypes.EmailSourceType, IJEMHDataTypes.EntitySchemeNotificaitonMaxHandling, IJEMHDataTypes.FallbackFromAddressHeaders, IJEMHDataTypes.FingerprintHandlingActions, IJEMHDataTypes.FromAddressParseOrder, IJEMHDataTypes.HtmlBlkQtTagHandling, IJEMHDataTypes.HtmlBoldTagHandling, IJEMHDataTypes.HtmlCiteTagHandling, IJEMHDataTypes.HtmlCodeTagHandling, IJEMHDataTypes.HtmlEmTagHandling, IJEMHDataTypes.HtmlHeadingLevel, IJEMHDataTypes.HtmlHrTagHandling, IJEMHDataTypes.HtmlImageHandling, IJEMHDataTypes.HtmlItalicTagHandling, IJEMHDataTypes.HtmlLinkHandling, IJEMHDataTypes.HtmlNewlineOption, IJEMHDataTypes.HtmlNewlineWikiBreakOption, IJEMHDataTypes.HtmlOrderedListTagHandling, IJEMHDataTypes.HtmlPreTagHandling, IJEMHDataTypes.HtmlStrikeTagHandling, IJEMHDataTypes.HtmlSubTagHandling, IJEMHDataTypes.HtmlSupTagHandling, IJEMHDataTypes.HtmlTableRendering, IJEMHDataTypes.HtmlTextColourHandling, IJEMHDataTypes.HtmlUnderlineTagHandling, IJEMHDataTypes.HtmlUnorderedListTagHandling, IJEMHDataTypes.JEMHBlacklistingEntityTypes, IJEMHDataTypes.JSD_REQUEST_PARTICPANT_FILTER, IJEMHDataTypes.JsdCommentVisibilityType, IJEMHDataTypes.KEY_CC_HANDLING_VALUES, IJEMHDataTypes.KEY_DEFAULT_DIRECTIVE_PROCESSING_BEHAVIOUR_OPTIONS, IJEMHDataTypes.MimMultipartTypes, IJEMHDataTypes.NoIssueDuringCommentOnlyModeHandling, IJEMHDataTypes.NonCatchMailHandling, IJEMHDataTypes.NOTIFICATION_TYPE, IJEMHDataTypes.NotificationSourceType, IJEMHDataTypes.NotifyMeConditions, IJEMHDataTypes.NotifyUsersOnIssueCreation, IJEMHDataTypes.OnCommentEventBehaviour, IJEMHDataTypes.OperatingMode, IJEMHDataTypes.OperationalSummaryAlertStatuses, IJEMHDataTypes.OperationalSummaryPeriodicIntervalPeriods, IJEMHDataTypes.PgpValidationFailActions, IJEMHDataTypes.POST_FUNCTION_NOTIFICATION_ENTITY, IJEMHDataTypes.PRECEDENCE_TYPES, IJEMHDataTypes.ProfileAuditEventType, IJEMHDataTypes.ProjectMappingAdvisoryScope, IJEMHDataTypes.ProjectMappingAutoJoinNewUsers, IJEMHDataTypes.ProjectMappingEvalStrategy, IJEMHDataTypes.ProjectMappingRuleType, IJEMHDataTypes.ProjectMappingSortMethods, IJEMHDataTypes.ProjectMappingType, IJEMHDataTypes.PROPERTY_GROUP, IJEMHDataTypes.RememberMeAdminOptions, IJEMHDataTypes.RememberMeSysAdminOptions, IJEMHDataTypes.RUN_WORKFLOW_CONDITION, IJEMHDataTypes.SectionLimit, IJEMHDataTypes.SpamHandling, IJEMHDataTypes.TemplateAuditEventTypes, IJEMHDataTypes.ThreadMatchLimitType, IJEMHDataTypes.ThreadMatchRejectFromSource, IJEMHDataTypes.UnprivilegedReporterAction, IJEMHDataTypes.UnprivilegedReporterCondition, IJEMHDataTypes.UsageEntityTypes, IJEMHDataTypes.USE_WORKFLOW_DURING_CONDITION, IJEMHDataTypes.UserAutoJoinGroupCondition, IJEMHDataTypes.UserCreationOption, IJEMHDataTypes.VARIABLE_REPLACEMENTS, IJEMHDataTypes.WORKFLOW_RUN_AS_OPTIONS
-
-
Field Summary
Fields Modifier and Type Field Description static String
AUTO_SUBMITTED
relates to http://jira.atlassian.com/browse/JRA-15717static String
DEFAULT_COMMENT_EMAIL_NAME_FORMAT
static String
DEFAULT_CREATE_EMAIL_NAME_FORMAT
static String
DEFAULT_SUBJECT_ISSUE_KEY_REGEXP
Used as a default value, for email subject regexp matching on issue key to locate a 'correct' issue replystatic String
FALLBACK_DEFAULT_DUE_DATE_FORMAT
static String
FALLBACK_DEFAULT_ISSUE_TYPE
static String
KEY_JEMHUI_EMAIL_SOURCE
static String
KEY_JEMHUI_EMAIL_SOURCE_USERKEY
static String
SUB_ADDRESS_REGEXP
-
Fields inherited from interface com.javahollic.jira.emh.api.IJEMHDataTypes
COMMENT_COUNT_LIMIT_DEFAULT, COMMENT_COUNT_LIMIT_INHERIT, COMMENT_MAX_CHARS_LIMIT_DEFAULT, COMMENT_MAX_CHARS_LIMIT_INHERIT, COMMENT_RATE_LIMIT_DEFAULT, COMMENT_RATE_LIMIT_INHERIT, COMMENT_RATE_PERIOD_DEFAULT, COMMENT_RATE_PERIOD_INHERIT, CREATE_USERS_ID_FROM_VALUES, JIRA_FINGERPRINT_HEADER, JSD_CUSTOMER_REQUEST_TYPE_CF_TYPE_KEY, JSD_ORGANIZATIONS_CF, JSD_ORGANIZATIONS_CF_TYPE_KEY, JSD_REQUEST_PARTICIPANTS_CF_TYPE_KEY, PRECENDENCE_HEADER, TEMPLATE_THEME_JIRA, TEMPLATE_THEME_JSD, VALUE_CREATE_USERS_ID_FROM_ALTERNATE_PROVIDER, VALUE_CREATE_USERS_ID_FROM_FULL_EMAIL, VALUE_CREATE_USERS_ID_FROM_NAME
-
Fields inherited from interface com.javahollic.jira.emh.api.IJEMHKeys
KEY_ASSIGN_JIRA_USERS_ORIGINAL_EMAIL_ADDRESS_TO_CUSTOM_FIELD, KEY_ASSIGN_NON_JIRA_USERS_ORIGINAL_EMAIL_ADDRESS_TO_CUSTOM_FIELD, KEY_AUTO_FLUSH_OUTBOUND_MAIL_QUEUE, KEY_BLACKLIST_RECIPIENTS, KEY_BLACKLIST_SENDERS, KEY_BLACKLISTED_ATTACHMENT_TYPES, KEY_BODY_DELIMIT_REGEXPS, KEY_BULK, KEY_BULK_HANDLING_ACTION, KEY_CATCHEMAIL, KEY_CC_HANDLING, KEY_CC_HANDLING_JIRA_USERS_CUSTOM_FIELD_NAME, KEY_CC_HANDLING_NON_JIRA_USERS_CUSTOM_FIELD_NAME, KEY_CC_HEADER_RECIPIENT_CF, KEY_CREATE_USERS_FROM_EMAIL_BLACKLIST, KEY_CREATE_USERS_FROM_EMAIL_DOMAIN_WHITELIST, KEY_CREATE_USERS_ID_FROM, KEY_CREATEUSERS, KEY_CUSTOM_EMAIL_FROM_ADDRESS, KEY_CUSTOM_EMAIL_FROM_NAME, KEY_DEBUG_PRINT_EMAIL, KEY_DEFAULT_ASSIGNEE, KEY_DEFAULT_ATTACHMENTS_ENABLED, KEY_DEFAULT_AUTO_JOIN_GROUP, KEY_DEFAULT_CF_PREFIX, KEY_DEFAULT_COMPONENT, KEY_DEFAULT_DIRECTIVE_PROCESSING_BEHAVIOUR, KEY_DEFAULT_DUE_DATE_FORMAT, KEY_DEFAULT_ISSUE_COMMENT_LIMIT, KEY_DEFAULT_ISSUE_COMMENT_SIZE_LIMIT_KB, KEY_DEFAULT_ISSUE_LINK_TYPE, KEY_DEFAULT_ISSUE_TYPE, KEY_DEFAULT_LABELS, KEY_DEFAULT_ON_COMMENT_ADVANCE_FROM_WORKFLOW_STATES, KEY_DEFAULT_ON_COMMENT_ADVANCE_TO_WORKFLOW_STATE, KEY_DEFAULT_PRIORITY, KEY_DEFAULT_PROJECT, KEY_DEFAULT_REPORTER_OVERRIDES_DERIVED_REPORTER, KEY_DEFAULT_REPORTER_USERNAME, KEY_DEFAULT_SUMMARY, KEY_DEFAULT_WORKFLOW_ADVANCE, KEY_DEFAULT_WORKFLOW_FIELD_PREFIX, KEY_DEFAULT_WORKLOG_SECURITY_GROUP, KEY_DEFAULT_WORKLOG_SECURITY_ROLE, KEY_DELETE_EMAIL, KEY_EAT_EMPTY_BODY_LINES_MAX, KEY_EMAIL_DOMAIN_EQUIVALENCY, KEY_EMAIL_SENT_DATE_CF, KEY_ENABLE_AUTOMATIC_ISSUE_ASSIGNEE, KEY_ENABLED_FIELD_PROCESSORS, KEY_EXTERNAL_PROPERTIES_FILE, KEY_FORCE_USER_ID_CASE, KEY_FORCE_USER_ID_CASE_VALUE_TO_LOWER, KEY_FORCE_USER_ID_CASE_VALUE_TO_UPPER, KEY_FORWARD_USER, KEY_GREYLIST_RELATED_USER_EMAIL_BODY_REGEXPS, KEY_GREYLIST_SENDERS, KEY_GREYLIST_SENDERS_SUBJECT_REGEXPS, KEY_INDICATE_SOURCED_BY_EMAIL_HEADER, KEY_INDICATE_SOURCED_BY_EMAIL_TEMPLATE, KEY_INDICATE_WHICH_HANDLER_PROCESSED_MAIL, KEY_ISSUE_COMMENT_LIMIT_EXCEEDED_ACTION, KEY_JEMH_ADDRESSEE_REGEXPS, KEY_JEMHUI_PROFILE_ID, KEY_JIRA_USER_RECIPIENT_CF, KEY_JIRA_USER_SENDER_EMAIL_CF, KEY_JIRA_USER_SENDER_NAME_CF, KEY_LABEL_SENDER_DOMAIN_CF, KEY_NONJIRA_USER_RECIPIENT_EMAIL_CF, KEY_NONJIRA_USER_SENDER_EMAIL_CF, KEY_NONJIRA_USER_SENDER_NAME_CF, KEY_NOTIFYUSERS, KEY_NOTIFYUSERS_ON_ISSUE_CREATION, KEY_OVERRIDE_HINTOGRAM_EMAIL_ADDRESS, KEY_PROJECT_AUTO_ASSIGN, KEY_PROJECT_DEFAULT, KEY_SCRIPT_CONTEXT_NAME_CF, KEY_SILENTLY_DROP_BLACKLIST_MATCHES, KEY_SILENTLY_DROP_GREYLIST_SUBJECT_MATCHES, KEY_STRIP_QUOTES, KEY_UPDATES_WITH_COMMENTS_ALWAYS_TRIGGER_COMMENT_EVENTS, KEY_USE_EMAIL_SENDER_FOR_SECURITY_CHECKS, KEY_USE_FIRST_WORD_ONLY_WORKFLOW_NAME_MATCH, KEY_USE_GENERIC_EVENT_TYPE, KEY_WHITELIST_SENDERS, X_JEMH_STATUS_NOTIFICATION
-
Fields inherited from interface com.javahollic.jira.emh.api.IJEMHSystemConfigHelper
JIRA_TEXT_FIELD_CHAR_LIMIT_KEY
-
-
Method Summary
-
Methods inherited from interface com.javahollic.jira.emh.api.IJEMHSystemConfigHelper
getApplicationProperties, getApplicationProperty, getDefaultSystemPriority, getJemhApiVersion, getJemhPluginKey, getJemhVersion, getJiraApiVersion, getParams, isJemhBuildDc, isJemhSnapshot, setParams
-
-
-
-
Field Detail
-
SUB_ADDRESS_REGEXP
static final String SUB_ADDRESS_REGEXP
- See Also:
- Constant Field Values
-
DEFAULT_SUBJECT_ISSUE_KEY_REGEXP
static final String DEFAULT_SUBJECT_ISSUE_KEY_REGEXP
Used as a default value, for email subject regexp matching on issue key to locate a 'correct' issue reply- See Also:
- Constant Field Values
-
AUTO_SUBMITTED
static final String AUTO_SUBMITTED
relates to http://jira.atlassian.com/browse/JRA-15717- See Also:
- Constant Field Values
-
FALLBACK_DEFAULT_DUE_DATE_FORMAT
static final String FALLBACK_DEFAULT_DUE_DATE_FORMAT
- See Also:
- Constant Field Values
-
FALLBACK_DEFAULT_ISSUE_TYPE
static final String FALLBACK_DEFAULT_ISSUE_TYPE
- See Also:
- Constant Field Values
-
KEY_JEMHUI_EMAIL_SOURCE
static final String KEY_JEMHUI_EMAIL_SOURCE
- See Also:
- Constant Field Values
-
KEY_JEMHUI_EMAIL_SOURCE_USERKEY
static final String KEY_JEMHUI_EMAIL_SOURCE_USERKEY
- See Also:
- Constant Field Values
-
DEFAULT_CREATE_EMAIL_NAME_FORMAT
static final String DEFAULT_CREATE_EMAIL_NAME_FORMAT
- See Also:
- Constant Field Values
-
DEFAULT_COMMENT_EMAIL_NAME_FORMAT
static final String DEFAULT_COMMENT_EMAIL_NAME_FORMAT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getAliases
KeyValuePair[] getAliases()
Aliases allow for arbitrary command shortening, can shorten the key, but can also be used to provide a value- Returns:
- String for simple substitution or String[2] for [0]=key, [1]=value
-
getAssignJiraUsersNameToCustomField
@Deprecated String getAssignJiraUsersNameToCustomField()
Deprecated.UsegetJiraUserSenderCFId()
to get unambiguous ID's instead of locale-sensitive names.Get name of custom field used for handling JIRA user sender from incoming email.- Returns:
- jira user custom field
-
getJiraUserSenderCFId
String getJiraUserSenderCFId()
Get ID of the custom field used to handle JIRA user sender from incoming email.- Returns:
- ID string of the form
customfield_xxxxx
-
getAssignJiraUsersOriginalEmailAddressToCustomField
@Deprecated String getAssignJiraUsersOriginalEmailAddressToCustomField()
Deprecated.UsegetJiraUserSenderEmailAddressCFId()
to get unambiguous ID's instead of locale-sensitive names.Get name of custom field used for handling JIRA user sender email address of incoming email.- Returns:
- custom field name
-
getJiraUserSenderEmailAddressCFId
String getJiraUserSenderEmailAddressCFId()
Get ID of the custom field used to handle JIRA user sender email address from incoming email.- Returns:
- ID string of the form
customfield_xxxxx
-
getAssignNonJiraUsersOriginalNameToCustomField
@Deprecated String getAssignNonJiraUsersOriginalNameToCustomField()
Deprecated.UsegetNonJiraUserSenderNameCFId()
to get unambiguous ID's instead of locale-sensitive names.Get name of custom field used for handling non-JIRA user- Returns:
- name of custom field
-
getNonJiraUserSenderNameCFId
String getNonJiraUserSenderNameCFId()
Get ID of the custom field used to handle non-JIRA user sender name from incoming email.- Returns:
- ID string of the form
customfield_xxxxx
-
getAssignNonJiraUsersOriginalEmailAddressToCustomField
@Deprecated String getAssignNonJiraUsersOriginalEmailAddressToCustomField()
Deprecated.UsegetNonJiraUserSenderEmailAddressCFId()
to get unambiguous ID's instead of locale-sensitive names.Get name of custom field used for handling non-JIRA user email address from incoming email.- Returns:
- name of custom field
-
getNonJiraUserSenderEmailAddressCFId
String getNonJiraUserSenderEmailAddressCFId()
Get ID of the custom field used to handle non-JIRA user sender email address from incoming email.- Returns:
- ID string of the form
customfield_xxxxx
-
getWhitelistedAttachmentTypes
String[] getWhitelistedAttachmentTypes()
-
getBlacklistedAttachmentTypes
String[] getBlacklistedAttachmentTypes()
-
getBlacklistedAttMimeTypes
String[] getBlacklistedAttMimeTypes()
-
getBlacklistRecipients
String[] getBlacklistRecipients()
-
getBlacklistSenders
String[] getBlacklistSenders()
-
getNonRenamedAtts
String[] getNonRenamedAtts()
-
getOperatingMode
IJEMHDataTypes.OperatingMode getOperatingMode()
-
getBulkHandlingAction
@Deprecated String getBulkHandlingAction()
Deprecated.Configuration for applicable filters and their actions have moved to Project Mappings. UsegetPrecedenceFilterAction(String headerValue)
instead.Get action for Precedence filter- Returns:
- the action to be used by the filter
-
getFingerprintHandlingAction
IJEMHDataTypes.FingerprintHandlingActions getFingerprintHandlingAction()
-
getArchivedIssueAction
IJEMHDataTypes.ArchivedIssueHandlingActions getArchivedIssueAction()
-
getCatchEmailAddresses
List<CatchAddressBean> getCatchEmailAddresses()
-
getProjectMappingDomainRuleAddresseeMatch
CatchEmailResult getProjectMappingDomainRuleAddresseeMatch(javax.mail.Message message)
-
getCatchEmailHeaders
String[] getCatchEmailHeaders()
-
getCCHandling
String[] getCCHandling()
-
getJsdRequestParticipantFilter
IJEMHDataTypes.JSD_REQUEST_PARTICPANT_FILTER getJsdRequestParticipantFilter()
-
getCCHandlingJiraUsersCustomFieldName
@Deprecated String getCCHandlingJiraUsersCustomFieldName()
Deprecated.UsegetCCHandlingJiraUsersCFId()
to get unambiguous ID's instead of locale-sensitive names.Get name of the custom field used for handling JIRA user reci@Override pients from incoming email.- Returns:
- name of custom field
-
getCCHandlingJiraUsersCFId
String getCCHandlingJiraUsersCFId()
Get ID of the custom field used to handle JIRA user recipients from incoming email.- Returns:
- ID string of the form
customfield_xxxxx
-
getCCHandlingNonJiraUsersCustomFieldName
@Deprecated String getCCHandlingNonJiraUsersCustomFieldName()
Deprecated.UsegetCCHandlingNonJiraUsersCFId()
to get unambiguous ID's instead of locale-sensitive names.Get name of the custom field used for handling non-JIRA user recipients from incoming email.- Returns:
- name of custom field
-
getCCHandlingNonJiraUsersCFId
String getCCHandlingNonJiraUsersCFId()
Get ID of the custom field used to handle non-JIRA user recipients from incoming email.- Returns:
- ID string of the form
customfield_xxxxx
-
getCCEmailAddressesCustomFieldName
@Deprecated String getCCEmailAddressesCustomFieldName()
Deprecated.UsegetCCEmailAddressesCFId()
to get unambiguous ID's instead of locale-sensitive names.Get name of the custom field used to handle email addresses found in the CC header from incoming email.- Returns:
- name of custom field
-
getCCEmailAddressesCFId
String getCCEmailAddressesCFId()
Get ID of the custom field used to handle email addresses found in the CC header from incoming email.- Returns:
- ID string of the form
customfield_xxxxx
-
getCreateUsersIDFrom
String getCreateUsersIDFrom()
-
getCreateUsersFromEmailCondition
IJEMHDataTypes.CreateUserFromEmailCondition getCreateUsersFromEmailCondition()
-
getAlternateIdProvider
String getAlternateIdProvider()
-
getCreateUsersIDFromEmailDomainBlacklist
String[] getCreateUsersIDFromEmailDomainBlacklist()
-
getCreateUsersIDFromEmailDomainWhitelist
String[] getCreateUsersIDFromEmailDomainWhitelist()
-
getCustomEmailFromAddress
String getCustomEmailFromAddress()
-
getCustomEmailFromName
String getCustomEmailFromName()
-
getCustomEmailReplyToAddress
String getCustomEmailReplyToAddress()
-
getCustomEmailReplyToName
String getCustomEmailReplyToName()
-
getDefaultAutoJoinGroups
String[] getDefaultAutoJoinGroups()
-
getAutoJoinGroupCond
IJEMHDataTypes.UserAutoJoinGroupCondition getAutoJoinGroupCond()
-
isAutoJoinNewUsersGroup
boolean isAutoJoinNewUsersGroup()
-
getDefaultCommentVisibility
String getDefaultCommentVisibility()
-
getDefaultCustomFieldValue
String getDefaultCustomFieldValue(String customFieldName, javax.mail.Message incomingMessage)
-
getDefaultCustomFieldValue
String getDefaultCustomFieldValue(com.atlassian.jira.issue.fields.CustomField arg0, boolean isCreating, javax.mail.Message incomingMessage)
-
isDefaultCustomFieldRuleMatch
boolean isDefaultCustomFieldRuleMatch(String name, com.atlassian.jira.issue.Issue fRelatedIssue)
-
getDateFormats
String[] getDateFormats()
-
getDateTimeFormats
String[] getDateTimeFormats()
-
getDefaultDueDateDays
String getDefaultDueDateDays()
-
getIssueCommentLimit
int getIssueCommentLimit()
gets the max number of comments that can be added to an issue- Returns:
- comment size limit
-
isIssueCommentLimitExceedsJiraLimit
boolean isIssueCommentLimitExceedsJiraLimit(int commentCountLimit)
detect if the comment limit exceeds the jira limit- Parameters:
commentCountLimit
-- Returns:
- true if jemh limit exceeds jira limit
-
getIssueCommentCountLimitExceededAction
IJEMHDataTypes.CommentCountLimitAction getIssueCommentCountLimitExceededAction()
When the COUNT of issue comments hits the JEMH limit, what do we do. Determines how failure should be handled, either send to 'forward' user or 'reject' through normal hintOgram method. This value reflects Project Mapping definitions (ie inherited from Default Project Mapping, with mapping Project Mapping being able to override, and same again for Rules)- Returns:
- typed value: reject, forward, allow
-
getIssueCommentMaxChars
int getIssueCommentMaxChars()
The limit to be set stopping excessively large comments being added to issues, possibly erroneously- Returns:
- comment size limit in bytes
-
getIssueCommentMaxCharsExceededAction
IJEMHDataTypes.CommentMaxCharsLimitAction getIssueCommentMaxCharsExceededAction()
When the SIZE of issue comments hits the JEMH limit, what do we do. Determines how failure should be handled, either send to 'forward' user, 'reject' through normal hintOgram method, or 'truncate' (and attach full content). This value reflects Project Mapping definitions (ie inherited from Default Project Mapping, with mapping Project Mapping being able to override, and same again for Rules)- Returns:
- typed value: reject, forward, truncate
-
getDefaultIssueLinkType
String getDefaultIssueLinkType()
-
isCommentVisibilityOptional
boolean isCommentVisibilityOptional()
-
getProjectMappingEvalStrategy
IJEMHDataTypes.ProjectMappingEvalStrategy getProjectMappingEvalStrategy()
-
getDefaultReporterUserKey
String getDefaultReporterUserKey()
-
getDefaultSummary
String getDefaultSummary()
-
getDefaultComment
String getDefaultComment()
-
getDefaultWorklogSecurityGroup
String getDefaultWorklogSecurityGroup()
-
getDefaultWorklogSecurityRole
String getDefaultWorklogSecurityRole()
-
getDirectiveProcessingBehaviour
String getDirectiveProcessingBehaviour()
Indicate if any specific variation should be used to enable JEMH directive processing- Returns:
- onComment, onCreateAndComment
-
isUseTranslatedFieldNames
boolean isUseTranslatedFieldNames()
-
getWhitelistDirectives
String[] getWhitelistDirectives()
-
getBlacklistDirectives
String[] getBlacklistDirectives()
-
getDirectiveGroups
String[] getDirectiveGroups()
enabled for JIRA users with given groups- Returns:
- String[] of Group names whose members may use Directives
-
getEatEmptyBodyLinesMax
int getEatEmptyBodyLinesMax()
-
getEnabledFieldProcessors
String[] getEnabledFieldProcessors()
-
getForceUserIdCase
String getForceUserIdCase()
-
getHintogramEmailTemplate
Integer getHintogramEmailTemplate()
-
getIndicateSourcedByEmailTemplate
Integer getIndicateSourcedByEmailTemplate()
-
getForwardEmailTemplate
Integer getForwardEmailTemplate()
-
getUserSignupEmailTemplate
Integer getUserSignupEmailTemplate()
-
getThreadMatchRejectTemplate
Integer getThreadMatchRejectTemplate()
-
getNonJiraIssueFormat
String getNonJiraIssueFormat()
- Returns:
- non-jira user notification format
- See Also:
IJEMHDataTypes.EmailFormatTypes
-
getJiraDurationUtils
com.atlassian.jira.util.JiraDurationUtils getJiraDurationUtils(com.atlassian.jira.security.JiraAuthenticationContext jac)
- Specified by:
getJiraDurationUtils
in interfaceIJEMHSystemConfigHelper
-
getNagiosConfiguration
NagiosFPConfigBean getNagiosConfiguration()
-
getScriptConfigBean
ScriptFPConfigBean getScriptConfigBean()
-
getOverrideHintOgramEmailAddress
String getOverrideHintOgramEmailAddress()
- Returns:
- Provide ability to intercept all hintOgrams
-
getPrivilegedUser
com.atlassian.jira.user.ApplicationUser getPrivilegedUser()
-
getConfiguration
ConfigurationBean getConfiguration()
-
getProfileId
int getProfileId()
-
getProfileGroupKey
String getProfileGroupKey()
-
isProfileGroupDefault
boolean isProfileGroupDefault()
-
isGroupOutcomeControlEnabled
boolean isGroupOutcomeControlEnabled()
-
getProcessOutcomesToIgnore
Set<IJEMHFPAuditEventEntiyDef.ProcessingOutcome> getProcessOutcomesToIgnore()
-
getProfileName
String getProfileName()
-
getProfileGroupOrder
int getProfileGroupOrder()
-
getProjectDefaults
List<ProjectMappingItemBean> getProjectDefaults()
-
isSenderMustHaveAcct
boolean isSenderMustHaveAcct()
-
getWhitelistSenders
String[] getWhitelistSenders()
-
isAddSenderAsWatcher
boolean isAddSenderAsWatcher()
-
isAllowUnassignedIssues
boolean isAllowUnassignedIssues()
- Specified by:
isAllowUnassignedIssues
in interfaceIJEMHSystemConfigHelper
-
isAutoFlushMailQueue
boolean isAutoFlushMailQueue()
-
isCommentLevelVisibilityForGroupsEnabled
boolean isCommentLevelVisibilityForGroupsEnabled()
-
isCreateUsers
boolean isCreateUsers()
-
getUserDirectoryForCreate
String getUserDirectoryForCreate()
-
isCreateUserSignupEmail
boolean isCreateUserSignupEmail()
-
isDebugPrintEmail
boolean isDebugPrintEmail()
-
isDefaultReporterOverridesDerivedReporter
boolean isDefaultReporterOverridesDerivedReporter()
-
isEnableAutomaticIssueAssignee
boolean isEnableAutomaticIssueAssignee()
-
isExternalUserManagementEnabled
boolean isExternalUserManagementEnabled()
- Specified by:
isExternalUserManagementEnabled
in interfaceIJEMHSystemConfigHelper
-
isHintOgramEnabled
boolean isHintOgramEnabled()
-
isNotifyOfAllIssueCreationFailure
boolean isNotifyOfAllIssueCreationFailure()
-
getCustomEventFireMode
@Deprecated IJEMHDataTypes.CustomEventFireMode getCustomEventFireMode()
Deprecated.since 3.3.14, as only bundles should be fired- Returns:
- type representing how custom events should be fired by JEMH.
-
isIndicateSourcedByEmailHeader
@Deprecated boolean isIndicateSourcedByEmailHeader()
Deprecated.
-
getCommentHeaderCondition
IJEMHDataTypes.CommentHeaderCondition getCommentHeaderCondition()
-
isIndicateWhichHandlerProcessedMail
boolean isIndicateWhichHandlerProcessedMail()
-
isIssueAttachmentsEnabled
boolean isIssueAttachmentsEnabled()
- Specified by:
isIssueAttachmentsEnabled
in interfaceIJEMHSystemConfigHelper
-
isEmbeddedAttsEnabled
boolean isEmbeddedAttsEnabled()
-
isIssueLinkingEnabled
boolean isIssueLinkingEnabled()
- Specified by:
isIssueLinkingEnabled
in interfaceIJEMHSystemConfigHelper
-
isIssueVotingEnabled
boolean isIssueVotingEnabled()
- Specified by:
isIssueVotingEnabled
in interfaceIJEMHSystemConfigHelper
-
isIssueWatchingEnabled
boolean isIssueWatchingEnabled()
- Specified by:
isIssueWatchingEnabled
in interfaceIJEMHSystemConfigHelper
-
isNotifyUsers
boolean isNotifyUsers()
-
isProjectAutoAssign
boolean isProjectAutoAssign()
-
isProjectAutoAssignSubAddresses
boolean isProjectAutoAssignSubAddresses()
-
getBlacklistOutcomeHandling
IJEMHDataTypes.BlacklistOutcomeHandling getBlacklistOutcomeHandling()
-
isStripQuotes
boolean isStripQuotes()
-
isUnassignableIssuesEnabled
boolean isUnassignableIssuesEnabled()
- Specified by:
isUnassignableIssuesEnabled
in interfaceIJEMHSystemConfigHelper
-
isUpdateWithCommentsAlwaysToTriggerUpdateEvents
boolean isUpdateWithCommentsAlwaysToTriggerUpdateEvents()
-
getOnCommentEventBehaviour
IJEMHDataTypes.OnCommentEventBehaviour getOnCommentEventBehaviour()
-
isUseEmailSenderForSecurityChecks
boolean isUseEmailSenderForSecurityChecks()
-
isUseGenericEventEnabled
boolean isUseGenericEventEnabled()
-
isProjLeadForForward
boolean isProjLeadForForward()
-
getForwardUsers
Set<JEMHUserBean> getForwardUsers()
-
getForwardEmails
String getForwardEmails()
-
isAddOriginalEmailToForwardNotification
boolean isAddOriginalEmailToForwardNotification()
-
getIssueSecurityLevel
String getIssueSecurityLevel()
-
getHtmlExtractMethod
String getHtmlExtractMethod()
-
getHtmlImageHandling
IJEMHDataTypes.HtmlImageHandling getHtmlImageHandling()
-
isUseProvidedHtmlImageAttributes
boolean isUseProvidedHtmlImageAttributes()
-
getHtmlImageAttributes
String getHtmlImageAttributes()
-
getHtmlLinkHandling
IJEMHDataTypes.HtmlLinkHandling getHtmlLinkHandling()
-
isAssigneeFirstValidUser
boolean isAssigneeFirstValidUser()
-
getSubjectCleanupRegexps
String getSubjectCleanupRegexps()
This field is now applied Before Directive processing only. For post-Directive processing, us Project Mapping cleanup regexps- Returns:
- csv regexps
-
getBodyCleanupRegexps
String getBodyCleanupRegexps()
This field is now applied Before Directive processing only. For post-Directive processing, us Project Mapping cleanup regexps- Returns:
- csv regexps
-
getSubjectIssueKeyRegexp
String getSubjectIssueKeyRegexp()
-
isSubjectIssueKeyLimitedToMappedProjects
boolean isSubjectIssueKeyLimitedToMappedProjects()
-
getSubjectIssueKeyJqlFilt
String getSubjectIssueKeyJqlFilt()
-
getForwardSubjectPrefixes
String getForwardSubjectPrefixes()
-
isPreValidateCustomFieldValues
boolean isPreValidateCustomFieldValues()
-
isHideHtmlLinks
boolean isHideHtmlLinks()
-
isRemoveNbsp
boolean isRemoveNbsp()
-
isIgnoreSubjectIssueKeys
boolean isIgnoreSubjectIssueKeys()
-
getRegexpFPConfiguration
List<RegexpProcConfigBean> getRegexpFPConfiguration()
-
getAddEmailToIssueCond
IJEMHDataTypes.AttachEmailToIssueCondition getAddEmailToIssueCond()
-
getAddOrigEmailBodyToIssue
IJEMHDataTypes.AddOrigBodyToIssueCondition getAddOrigEmailBodyToIssue()
-
isDisableAttZipWrapper
boolean isDisableAttZipWrapper()
-
getCreateEmailNameFormat
String getCreateEmailNameFormat()
-
getCommentEmailNameFormat
String getCommentEmailNameFormat()
-
getProjAssignFromSubj
String getProjAssignFromSubj()
-
getCustomEventOnComment
int getCustomEventOnComment()
-
getBodyFormatPreference
IJEMHDataTypes.ContentTypePreference getBodyFormatPreference()
-
getLdapConfigs
List<LdapDetailsDTO> getLdapConfigs()
-
isAutoLabelEnabled
boolean isAutoLabelEnabled()
-
getAutoLabelMinCharCount
int getAutoLabelMinCharCount()
-
getAutoLabelMaxCharCount
int getAutoLabelMaxCharCount()
-
getAutoLabelSubjectDelimiter
String getAutoLabelSubjectDelimiter()
-
getAutoLabelCaptureMode
IJEMHDataTypes.AutoLabelCaptureMode getAutoLabelCaptureMode()
-
isAutoLabelAddSuggestions
boolean isAutoLabelAddSuggestions()
-
isAutoLabelAddUniqueOriginals
boolean isAutoLabelAddUniqueOriginals()
-
isCanCreateLabels
boolean isCanCreateLabels()
-
isAutoLabelSenderDomain
boolean isAutoLabelSenderDomain()
-
getAutoLabelSenderStorage
IJEMHDataTypes.AutoLabelSenderStorage getAutoLabelSenderStorage()
-
getSenderDomainCf
@Deprecated String getSenderDomainCf()
Deprecated.UsegetSenderDomainCfId()
instead.Get name of custom field used for sender domain- Returns:
- name of custom field
-
getSenderDomainCfId
String getSenderDomainCfId()
Get ID of custom field used for sender domain- Returns:
- ID of custom field in form
customfield_xxxxx
-
getCustomEventOnCreate
int getCustomEventOnCreate()
-
isColonSuffixMultilineDisabled
boolean isColonSuffixMultilineDisabled()
-
isAddAttachImgLinks
boolean isAddAttachImgLinks()
-
isAddAttachFileLinks
boolean isAddAttachFileLinks()
-
getEmailSentDateCF
@Deprecated String getEmailSentDateCF()
Deprecated.UsegetEmailSentDateCFId()
instead.Get name of custom field used for handling email sent date of incoming email.- Returns:
- name of custom field
-
getEmailSentDateCFId
String getEmailSentDateCFId()
Get ID of custom field used for email sent date of incoming email.- Returns:
- ID of cutom field in form
customfield_xxxxx
-
isAllowAnonymousCommenting
boolean isAllowAnonymousCommenting()
-
getXspamFlagHandling
IJEMHDataTypes.SpamHandling getXspamFlagHandling()
-
getNonCatchmailMatchAction
String getNonCatchmailMatchAction()
-
getNoIssOnCommentAction
String getNoIssOnCommentAction()
-
isNormaliseNewlines
boolean isNormaliseNewlines()
-
isUseReprocessedMessage
boolean isUseReprocessedMessage()
-
isThreadCheckDisabled
boolean isThreadCheckDisabled()
-
isMergeResentMessages
boolean isMergeResentMessages()
-
getThreadMatchLimit
IJEMHDataTypes.ThreadMatchLimitType getThreadMatchLimit()
-
isThreadMatchRejectEnforced
boolean isThreadMatchRejectEnforced()
-
getThreadMatchNotWithResolutions
String[] getThreadMatchNotWithResolutions()
-
getThreadMatchJql
String getThreadMatchJql()
-
isNotifyThreadMatchReject
boolean isNotifyThreadMatchReject()
-
getThreadMatchRejectFromSrc
IJEMHDataTypes.ThreadMatchRejectFromSource getThreadMatchRejectFromSrc()
-
getThreadRejectSenderCfId
long getThreadRejectSenderCfId()
-
getNoCommentHeaderAddresses
String getNoCommentHeaderAddresses()
-
getHtmlDivTagHandling
IJEMHDataTypes.HtmlNewlineOption getHtmlDivTagHandling()
-
getHtmlSpanTagHandling
IJEMHDataTypes.HtmlNewlineOption getHtmlSpanTagHandling()
-
getHtmlTableTagHandling
IJEMHDataTypes.HtmlNewlineOption getHtmlTableTagHandling()
-
getHtmlImgTagHandling
IJEMHDataTypes.HtmlNewlineOption getHtmlImgTagHandling()
-
getHtmlParaTagHandling
IJEMHDataTypes.HtmlNewlineOption getHtmlParaTagHandling()
-
getHtmlBreakTagHandling
IJEMHDataTypes.HtmlNewlineWikiBreakOption getHtmlBreakTagHandling()
-
getHtmlHeadingEnabledLevel
IJEMHDataTypes.HtmlHeadingLevel getHtmlHeadingEnabledLevel()
-
getHtmlHrTagHandling
IJEMHDataTypes.HtmlHrTagHandling getHtmlHrTagHandling()
-
getHtmlPreTagHandling
IJEMHDataTypes.HtmlPreTagHandling getHtmlPreTagHandling()
-
getHtmlBlkQtTagHandling
IJEMHDataTypes.HtmlBlkQtTagHandling getHtmlBlkQtTagHandling()
-
getHtmlCodeTagHandling
IJEMHDataTypes.HtmlCodeTagHandling getHtmlCodeTagHandling()
-
getHtmlTextColourHandling
IJEMHDataTypes.HtmlTextColourHandling getHtmlTextColourHandling()
-
getHtmlSubTagHandling
IJEMHDataTypes.HtmlSubTagHandling getHtmlSubTagHandling()
-
getHtmlSupTagHandling
IJEMHDataTypes.HtmlSupTagHandling getHtmlSupTagHandling()
-
getHtmlEmTagHandling
IJEMHDataTypes.HtmlEmTagHandling getHtmlEmTagHandling()
-
getHtmlCiteTagHandling
IJEMHDataTypes.HtmlCiteTagHandling getHtmlCiteTagHandling()
-
getHtmlTableRendering
IJEMHDataTypes.HtmlTableRendering getHtmlTableRendering()
-
getHtmlBoldTagHandling
IJEMHDataTypes.HtmlBoldTagHandling getHtmlBoldTagHandling()
-
getHtmlItalicTagHandling
IJEMHDataTypes.HtmlItalicTagHandling getHtmlItalicTagHandling()
-
getHtmlStrikeTagHandling
IJEMHDataTypes.HtmlStrikeTagHandling getHtmlStrikeTagHandling()
-
getHtmlUnderlineTagHandling
IJEMHDataTypes.HtmlUnderlineTagHandling getHtmlUnderlineTagHandling()
-
getHtmlOrderedListTagHandling
IJEMHDataTypes.HtmlOrderedListTagHandling getHtmlOrderedListTagHandling()
-
getHtmlUnorderedListTagHandling
IJEMHDataTypes.HtmlUnorderedListTagHandling getHtmlUnorderedListTagHandling()
-
isEnableGenericThirdPartyCFHandling
boolean isEnableGenericThirdPartyCFHandling()
-
getEnabledMessageFilters
IJEMHMessageFilterProvider[] getEnabledMessageFilters()
-
isTreatUnprivilegedAsNonJira
boolean isTreatUnprivilegedAsNonJira()
-
getUnprivReporterAction
String getUnprivReporterAction()
-
getUnprivReporterCondition
String getUnprivReporterCondition()
-
getPreProcTasks
List<PreProcTaskItemBean> getPreProcTasks()
-
getPreProcTaskConfig
List<ConfigField> getPreProcTaskConfig(IJEMHMailHeaderPreProcTask aPreProcTask)
-
isEscapeWikiMarkup
boolean isEscapeWikiMarkup()
-
isUseXpriorityHeader
boolean isUseXpriorityHeader()
-
getFromAddressParseOrder
IJEMHDataTypes.FromAddressParseOrder getFromAddressParseOrder()
-
getDlLdapConfig
LdapDetailsDTO getDlLdapConfig()
-
isAddIssueEntityProps
boolean isAddIssueEntityProps()
-
getCreateUsersOption
IJEMHDataTypes.UserCreationOption getCreateUsersOption()
-
getPrecedenceFilterAction
String getPrecedenceFilterAction(String headerValue)
Get action for late running precedence filter from matching project mapping. Implementation should be aware what mapping/rule was found to match.- Parameters:
headerValue
- the value from the email header- Returns:
- a String representing the action to be taken
-
getDefaultMapping
ProjectMappingItemBean getDefaultMapping()
-
setMatchingParent
void setMatchingParent(ProjectMappingItemBean parent)
-
setMatchingDomainRule
void setMatchingDomainRule(ProjectDomainMappingBean rule)
-
setMatchingGroupRule
void setMatchingGroupRule(ProjectGroupMappingBean rule)
-
setMatchingKeywordRule
void setMatchingKeywordRule(ProjectKeywordMappingBean rule)
-
setMatchingScriptRule
void setMatchingScriptRule(ProjectScriptMappingBean scriptMapping)
-
getMappedProjectKey
String getMappedProjectKey()
-
clearMessage
void clearMessage()
Method to remove Message object and related meta data from the config, to limit memory usage in multi-profile configurations
-
initWith
IJEMHFPAuditEventEntiyDef.ProcessingOutcome initWith(javax.mail.Message message, IJEMHFPAuditEventEntiyDef auditEvent) throws javax.mail.MessagingException
- Throws:
javax.mail.MessagingException
-
getMessageMetaData
IJEMHMessageMetaData getMessageMetaData()
-
getAgentCommentVisibility
IJEMHDataTypes.JsdCommentVisibilityType getAgentCommentVisibility()
-
getCollabCommentVisibility
IJEMHDataTypes.JsdCommentVisibilityType getCollabCommentVisibility()
-
isJsdExternalCommentsEnabled
boolean isJsdExternalCommentsEnabled()
-
getProcessingThrottle
int getProcessingThrottle()
-
isAddOrgMemberAsReqPart
boolean isAddOrgMemberAsReqPart()
-
getPostProcessedMessage
javax.mail.Message getPostProcessedMessage()
-
getCustomActionFromConfig
String getCustomActionFromConfig(String filterHeader, String filterHeaderValue)
-
getCommentRateLimitExceededAction
IJEMHDataTypes.CommentRateLimitExceededAction getCommentRateLimitExceededAction()
-
getCommentRateLimit
int getCommentRateLimit()
-
getCommentRateLimitPeriod
int getCommentRateLimitPeriod()
-
isAuditingEnabled
boolean isAuditingEnabled()
-
-