java.lang.Object | |
↳ | com.atlassian.jira.mail.MailThreadManagerImpl |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Looks for an issue associated with the given message by inspecting the "Message-ID" header of the message.
| |||||||||||
Looks for an issue associated with the given message by inspecting the "In-Reply-To" header of the message.
| |||||||||||
Removes rows from NotificationInstance table associated with the given issue.
| |||||||||||
Remembers that given messageId has been used to either create or comment on an Issue.
| |||||||||||
Thread the given email which is related to the given issue.
|
[Expand]
Inherited Methods | |||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||||||||||||
![]()
|
Looks for an issue associated with the given message by inspecting the "Message-ID" header of the message.
messageId | Message-ID to be checked |
---|
Looks for an issue associated with the given message by inspecting the "In-Reply-To" header of the message.
Notifications sent from JIRA have a special form that allows us to parse out the Issue ID. We also remember the incoming Message-IDs so we can tell if another recipient replies to that message.
message | message to analyse |
---|
Removes rows from NotificationInstance table associated with the given issue. Used when we delete an issue.
issueId | the issue |
---|
Remembers that given messageId has been used to either create or comment on an Issue.
This creates an entry in "NotificationInstance" table that will only be removed in two cases
removeAssociatedEntries(Long)
messageId | The incoming Message-ID |
---|---|
senderAddress | The sender |
issue | the issue that was affected (created or commented) |
action | Issue created or Issue commented |
Thread the given email which is related to the given issue.
the email to be sent | |
issue | the issue that the email is about |