public enum CacheFlag extends java.lang.Enum<CacheFlag>
Enum Constant | Description |
---|---|
EMOTE |
Enables cache for
Guild.getEmoteCache() |
GAME |
Enables cache for
Member.getGame() |
VOICE_STATE |
Enables cache for
Member.getVoiceState()
This will always be cached for self member. |
Modifier and Type | Method | Description |
---|---|---|
static CacheFlag |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static CacheFlag[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CacheFlag GAME
Member.getGame()
public static final CacheFlag VOICE_STATE
Member.getVoiceState()
public static final CacheFlag EMOTE
Guild.getEmoteCache()
public static CacheFlag[] values()
for (CacheFlag c : CacheFlag.values()) System.out.println(c);
public static CacheFlag 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