com.jivesoftware.community.event
Class EmailEvent
java.lang.Object
com.jivesoftware.community.event.EmailEvent
public class EmailEvent
- extends
A class for EmailEvent events. This class will be passed to EventListeners whenever an email event is fired and contains all the pertinent information to the event.
|
Method Summary |
Message |
getMessage()
Returns the Message that the event corresponds to. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EmailEvent
public EmailEvent()
EmailEvent
public EmailEvent(EmailEvent.Type eventType,
Message message,
EmailMessage emailMessage,
Map<String,? extends Object> params)
- Creates a new email event.
- Parameters:
eventType - the type of the email event.message - the smtp message envelope the event corresponds to.emailMessage - the Jive SBS email messageparams - parameters corresponding to the event.
getMessage
public Message getMessage()
- Returns the Message that the event corresponds to.
- Returns:
- the message the event corresponds to.
Copyright © 1999-2007 Jive Software.