public enum ImapEventType extends java.lang.Enum<ImapEventType> implements io.jmix.core.metamodel.datatype.impl.EnumClass<java.lang.String>
Enum Constant and Description |
---|
EMAIL_DELETED
Event type to capture message removal
|
EMAIL_MOVED
Event type to capture move message to different folder
|
EMAIL_SEEN
Event type to capture mark message as read
|
FLAGS_UPDATED
Event type to capture any change in IMAP flags of message
|
NEW_ANSWER
Event type to capture new reply for message
|
NEW_EMAIL
Event type to capture new message in folder
|
NEW_THREAD
Event type to capture new message thread in folder
|
Modifier and Type | Method and Description |
---|---|
static ImapEventType |
fromId(java.lang.String id) |
static java.util.Collection<ImapEventType> |
getByEventType(java.lang.Class<? extends BaseImapEvent> eventClass) |
java.lang.Class<? extends BaseImapEvent> |
getEventClass() |
java.lang.String |
getId() |
static ImapEventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImapEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImapEventType NEW_EMAIL
public static final ImapEventType EMAIL_SEEN
public static final ImapEventType NEW_ANSWER
public static final ImapEventType EMAIL_MOVED
public static final ImapEventType FLAGS_UPDATED
public static final ImapEventType EMAIL_DELETED
public static final ImapEventType NEW_THREAD
public static ImapEventType[] values()
for (ImapEventType c : ImapEventType.values()) System.out.println(c);
public static ImapEventType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getId()
getId
in interface io.jmix.core.metamodel.datatype.impl.EnumClass<java.lang.String>
public java.lang.Class<? extends BaseImapEvent> getEventClass()
@Nullable public static ImapEventType fromId(java.lang.String id)
public static java.util.Collection<ImapEventType> getByEventType(java.lang.Class<? extends BaseImapEvent> eventClass)