public enum EventType extends java.lang.Enum<EventType>
Java class for event-type.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="event-type">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="EVICTED"/>
<enumeration value="EXPIRED"/>
<enumeration value="REMOVED"/>
<enumeration value="CREATED"/>
<enumeration value="UPDATED"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
CREATED |
EVICTED |
EXPIRED |
REMOVED |
UPDATED |
| Modifier and Type | Method and Description |
|---|---|
static EventType |
fromValue(java.lang.String v) |
java.lang.String |
value() |
static EventType |
valueOf(java.lang.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 EVICTED
public static final EventType EXPIRED
public static final EventType REMOVED
public static final EventType CREATED
public static final EventType UPDATED
public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType 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 value()
public static EventType fromValue(java.lang.String v)