public enum EventType extends Enum<EventType>
Java class for null.
The following schema fragment specifies the expected content contained within this class.
<simpleType> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="job-posting"/> <enumeration value="new-product"/> <enumeration value="status-update"/> </restriction> </simpleType>
Enum Constant and Description |
---|
JOB_POSTING |
NEW_PRODUCT |
STATUS_UPDATE |
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 JOB_POSTING
public static final EventType NEW_PRODUCT
public static final EventType STATUS_UPDATE
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()
Apache Camel