public static enum EventCache.Type extends java.lang.Enum<EventCache.Type>
Enum Constant and Description |
---|
CALL |
CHANNEL |
GUILD |
RELATIONSHIP |
ROLE |
USER |
Modifier and Type | Method and Description |
---|---|
static EventCache.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EventCache.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventCache.Type USER
public static final EventCache.Type GUILD
public static final EventCache.Type CHANNEL
public static final EventCache.Type ROLE
public static final EventCache.Type RELATIONSHIP
public static final EventCache.Type CALL
public static EventCache.Type[] values()
for (EventCache.Type c : EventCache.Type.values()) System.out.println(c);
public static EventCache.Type 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 null