org.cert.cc.jira.email.handler
Class MessageConverter
java.lang.Object
org.cert.cc.jira.email.handler.MessageConverter
public final class MessageConverter
- extends Object
MessageConverter takes an input Message and converts it to a Message from which a
JIRA issue can be created.
© 2009 Carnegie Mellon University
- Author:
- Steve Scholnick
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageConverter
public MessageConverter(JIRAMediator mediator)
- Constructor
- Parameters:
mediator - JIRAMediator
translate
public Message translate(Message incoming)
throws MessagingException
- Takes an input
Message and converts it to a Message from which a
JIRA issue can be created. If any operation fails, the original message is returned.
- Parameters:
incoming - Incoming Message data
- Returns:
- JIRA suitable
Message
- Throws:
MessagingException - If unable to classify the input Message
Copyright © 2012 Carnegie Mellon University