public enum ConsumerType extends Enum<ConsumerType>
Enum Constant and Description |
---|
DIRECTMESSAGE |
SEARCH |
STREAMING |
TIMELINE |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static ConsumerType |
fromString(String uri) |
static ConsumerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsumerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsumerType TIMELINE
public static final ConsumerType SEARCH
public static final ConsumerType DIRECTMESSAGE
public static final ConsumerType STREAMING
public static final ConsumerType UNKNOWN
public static ConsumerType[] values()
for (ConsumerType c : ConsumerType.values()) System.out.println(c);
public static ConsumerType 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 static ConsumerType fromString(String uri)
Apache Camel