public enum EventType extends Enum<EventType>
Java class for EventType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="EventType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Open"/> <enumeration value="Click"/> <enumeration value="HardBounce"/> <enumeration value="SoftBounce"/> <enumeration value="OtherBounce"/> <enumeration value="Unsubscribe"/> <enumeration value="Sent"/> <enumeration value="NotSent"/> <enumeration value="Survey"/> <enumeration value="ForwardedEmail"/> <enumeration value="ForwardedEmailOptIn"/> <enumeration value="DeliveredEvent"/> </restriction> </simpleType>
Enum Constant and Description |
---|
CLICK |
DELIVERED_EVENT |
FORWARDED_EMAIL |
FORWARDED_EMAIL_OPT_IN |
HARD_BOUNCE |
NOT_SENT |
OPEN |
OTHER_BOUNCE |
SENT |
SOFT_BOUNCE |
SURVEY |
UNSUBSCRIBE |
Modifier and Type | Method and Description |
---|---|
static EventType |
fromValue(String v) |
String |
value() |
static EventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventType OPEN
public static final EventType CLICK
public static final EventType HARD_BOUNCE
public static final EventType SOFT_BOUNCE
public static final EventType OTHER_BOUNCE
public static final EventType UNSUBSCRIBE
public static final EventType SENT
public static final EventType NOT_SENT
public static final EventType SURVEY
public static final EventType FORWARDED_EMAIL
public static final EventType FORWARDED_EMAIL_OPT_IN
public static final EventType DELIVERED_EVENT
public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
Copyright © 2017. All rights reserved.