com.atlassian.jira.service.util.handler
Class FullCommentHandler
java.lang.Object
com.atlassian.jira.service.util.handler.AbstractMessageHandler
com.atlassian.jira.service.util.handler.AbstractCommentHandler
com.atlassian.jira.service.util.handler.FullCommentHandler
- All Implemented Interfaces:
- MessageHandler
public class FullCommentHandler
- extends AbstractCommentHandler
Fields inherited from class com.atlassian.jira.service.util.handler.AbstractMessageHandler |
applicationProperties, bulk, catchEmail, commentManager, CONTENT_TYPE_PKCS7, CONTENT_TYPE_TEXT, createUsers, deleteEmail, issueFactory, KEY_BULK, KEY_CATCHEMAIL, KEY_CREATEUSERS, KEY_NOTIFYUSERS, KEY_REPORTER, notifyUsers, params, reporteruserName |
Method Summary |
protected String |
getEmailBody(javax.mail.Message message)
Given a message - this handler will add the entire message body as a comment to
the first issue referenced in the subject. |
Methods inherited from class com.atlassian.jira.service.util.handler.AbstractMessageHandler |
addError, addError, addErrorAndReturnFalse, addErrorAndReturnFalse, canHandleMessage, createAttachmentsForMessage, createAttachmentWithPart, createUserForReporter, findUserByEmail, findUserByUsername, getAssociatedIssue, getAuthorFromSender, getErrorHandler, getFileFromPart, getI18nBean, getPrecedenceHeader, getReporter, init, recordMessageId, renameFileIfInvalid, setErrorHandler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FullCommentHandler
public FullCommentHandler()
getEmailBody
protected String getEmailBody(javax.mail.Message message)
throws javax.mail.MessagingException
- Given a message - this handler will add the entire message body as a comment to
the first issue referenced in the subject.
- Specified by:
getEmailBody
in class AbstractCommentHandler
- Throws:
javax.mail.MessagingException
Copyright © 2002-2007 Atlassian. All Rights Reserved.