Package io.jmix.imap.entity
Enum Class ImapEventType
- All Implemented Interfaces:
EnumClass<String>
,Serializable
,Comparable<ImapEventType>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionEvent type to capture message removalEvent type to capture move message to different folderEvent type to capture mark message as readEvent type to capture any change in IMAP flags of messageEvent type to capture new reply for messageEvent type to capture new message in folderEvent type to capture new message thread in folder -
Method Summary
Modifier and TypeMethodDescriptionstatic ImapEventType
static Collection<ImapEventType>
getByEventType
(Class<? extends BaseImapEvent> eventClass) Class<? extends BaseImapEvent>
getId()
static ImapEventType
Returns the enum constant of this class with the specified name.static ImapEventType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NEW_EMAIL
Event type to capture new message in folder -
EMAIL_SEEN
Event type to capture mark message as read -
NEW_ANSWER
Event type to capture new reply for message -
EMAIL_MOVED
Event type to capture move message to different folder -
FLAGS_UPDATED
Event type to capture any change in IMAP flags of message -
EMAIL_DELETED
Event type to capture message removal -
NEW_THREAD
Event type to capture new message thread in folder
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getId
-
getEventClass
-
fromId
-
getByEventType
-