Package discord4j.common.store.api
Enum Class StoreFlag
- All Implemented Interfaces:
Serializable
,Comparable<StoreFlag>
,Constable
Flag for signaling which store actions will be enabled or disabled.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFlag affecting operations related to channels.Flag affecting operations related to guild emojis.Flag affecting operations related to guilds.Flag affecting operations related to guild members.Flag affecting operations related to messages.Flag affecting operations related to presences.Flag affecting operations related to guild roles.Flag affecting operations related to guild scheduled events.Flag affecting operations related to stage instances.Flag affecting operations related to guild stickers.Flag affecting operations related to threads.Flag affecting operations related to users.Flag affecting operations related to voice states. -
Method Summary
-
Enum Constant Details
-
CHANNEL
Flag affecting operations related to channels.Updates:
- onChannelCreate
- onChannelDelete
- onChannelUpdate
- countChannels
- countChannelsInGuild
- getChannels
- getChannelsInGuild
- getChannelById
-
EMOJI
Flag affecting operations related to guild emojis.Updates:
- onGuildEmojisUpdate
- countEmojis
- countEmojisInGuild
- getEmojis
- getEmojisInGuild
- getEmojiById
-
GUILD
Flag affecting operations related to guilds.Updates:
- onGuildCreate
- onGuildDelete
- onGuildUpdate
- countGuilds
- getGuilds
- getGuildById
-
MEMBER
Flag affecting operations related to guild members.Updates:
- onGuildMemberAdd
- onGuildMemberRemove
- onGuildMembersChunk
- onGuildMemberUpdate
- onGuildMembersCompletion
- countMembers
- countMembersInGuild
- countExactMembersInGuild
- getMembers
- getMembersInGuild
- getExactMembersInGuild
- getMemberById
-
MESSAGE
Flag affecting operations related to messages.Updates:
- onMessageCreate
- onMessageDelete
- onMessageDeleteBulk
- onMessageReactionAdd
- onMessageReactionRemove
- onMessageReactionRemoveAll
- onMessageReactionRemoveEmoji
- onMessageUpdate
- countMessages
- countMessagesInChannel
- getMessages
- getMessagesInChannel
- getMessageById
-
PRESENCE
Flag affecting operations related to presences.Updates:
- onPresenceUpdate
- countPresences
- countPresencesInGuild
- getPresences
- getPresencesInGuild
- getPresenceById
-
ROLE
Flag affecting operations related to guild roles.Updates:
- onGuildRoleCreate
- onGuildRoleDelete
- onGuildRoleUpdate
- countRoles
- countRolesInGuild
- getRoles
- getRolesInGuild
- getRoleById
-
USER
Flag affecting operations related to users.Updates:
- onUserUpdate
- countUsers
- getUsers
- getUserById
-
VOICE_STATE
Flag affecting operations related to voice states.Updates:
- onVoiceStateUpdateDispatch
- countVoiceStates
- countVoiceStatesInGuild
- countVoiceStatesInChannel
- getVoiceStates
- getVoiceStatesInChannel
- getVoiceStatesInGuild
- getVoiceStateById
-
STICKER
Flag affecting operations related to guild stickers.Updates:
- onGuildStickersUpdate
- countStickers
- countStickersInGuild
- getStickers
- getStickersInGuild
- getStickerById
-
SCHEDULED_EVENT
Flag affecting operations related to guild scheduled events.Updates:
- onGuildScheduledEventCreate
- onGuildScheduledEventUpdate
- onGuildScheduledEventDelete
- onGuildScheduledEventUserAdd
- onGuildScheduledEventUserRemove
- getScheduledEventsInGuild
- getScheduledEventById
- getScheduledEventUsersInEvent
-
THREAD
Flag affecting operations related to threads. Updates:- onThreadCreate
- onThreadUpdate
- onThreadDelete
- onThreadListSync
- onThreadMemberUpdate
- onThreadMembersUpdate
- getThreadMemberById
- getMembersInThread
- Since:
- 3.3.0
-
STAGE_INSTANCE
Flag affecting operations related to stage instances. Updates:- onStageInstanceCreate
- onStageInstanceUpdate
- onStageInstanceDelete
- getStageInstanceByChannelId
- Since:
- 3.3.0
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-