java.lang.Object
java.util.EventObject
jakarta.mail.event.MailEvent
jakarta.mail.event.MessageChangedEvent
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
The message's envelope (headers, but not body) changed.static final int
The message's flags changed.protected Message
The message that changed.protected int
The event type.Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Invokes the appropriate MessageChangedListener method.Return the changed Message.int
Return the type of this event.Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
FLAGS_CHANGED
public static final int FLAGS_CHANGEDThe message's flags changed.- See Also:
-
ENVELOPE_CHANGED
public static final int ENVELOPE_CHANGEDThe message's envelope (headers, but not body) changed.- See Also:
-
type
protected int typeThe event type. -
msg
The message that changed.
-
-
Constructor Details
-
MessageChangedEvent
-
-
Method Details
-
getMessageChangeType
public int getMessageChangeType()Return the type of this event.- Returns:
- type
-
getMessage
-
dispatch
-