Jive API (3.0.13) Core Javadocs

com.jivesoftware.community.event
Class EmailEvent

java.lang.Object
  extended by 
      extended by 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.


Nested Class Summary
static class EmailEvent.Type
           
 
Constructor Summary
EmailEvent()
           
EmailEvent(EmailEvent.Type eventType, Message message, EmailMessage emailMessage, Map<String,? extends Object> params)
          Creates a new email 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
 

Constructor Detail

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 message
params - parameters corresponding to the event.
Method Detail

getMessage

public Message getMessage()
Returns the Message that the event corresponds to.

Returns:
the message the event corresponds to.

Jive Product Page

Copyright © 1999-2007 Jive Software.