Class ForumTagUpdateNameEvent
java.lang.Object
net.dv8tion.jda.api.events.Event
net.dv8tion.jda.api.events.channel.forum.GenericForumTagEvent
net.dv8tion.jda.api.events.channel.forum.update.GenericForumTagUpdateEvent<String>
net.dv8tion.jda.api.events.channel.forum.update.ForumTagUpdateNameEvent
- All Implemented Interfaces:
GenericEvent
,UpdateEvent<ForumTag,
String>
Indicates that the
name
of a ForumTag
changed.
Requirements
This requires CacheFlag.FORUM_TAGS
to be enabled.
JDABuilder.createLight(...)
disables this by default.
Identifier: name
-
Field Summary
-
Constructor Summary
ConstructorDescriptionForumTagUpdateNameEvent
(JDA api, long responseNumber, IPostContainer channel, ForumTag tag, String previous) -
Method Summary
Modifier and TypeMethodDescriptionThe new valueThe old valueMethods inherited from class net.dv8tion.jda.api.events.channel.forum.update.GenericForumTagUpdateEvent
getEntity, getPropertyIdentifier
Methods inherited from class net.dv8tion.jda.api.events.channel.forum.GenericForumTagEvent
getChannel, getTag
Methods inherited from class net.dv8tion.jda.api.events.Event
getJDA, getRawData, getResponseNumber, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface net.dv8tion.jda.api.events.GenericEvent
getJDA, getRawData, getResponseNumber
Methods inherited from interface net.dv8tion.jda.api.events.UpdateEvent
getEntityType
-
Field Details
-
IDENTIFIER
- See Also:
-
-
Constructor Details
-
ForumTagUpdateNameEvent
-
-
Method Details
-
getOldName
-
getNewName
-
getOldValue
Description copied from interface:UpdateEvent
The old value- Specified by:
getOldValue
in interfaceUpdateEvent<ForumTag,
String> - Overrides:
getOldValue
in classGenericForumTagUpdateEvent<String>
- Returns:
- The old value
-
getNewValue
Description copied from interface:UpdateEvent
The new value- Specified by:
getNewValue
in interfaceUpdateEvent<ForumTag,
String> - Overrides:
getNewValue
in classGenericForumTagUpdateEvent<String>
- Returns:
- The new value
-