Interface CustomIdJDAEntity<T>
- All Superinterfaces:
Definition
- All Known Subinterfaces:
ComponentDefinition<T>, SelectMenuDefinition<T>
- All Known Implementing Classes:
ButtonDefinition, EntitySelectMenuDefinition, ModalDefinition, StringSelectMenuDefinition
public sealed interface CustomIdJDAEntity<T>
extends Definition
permits ComponentDefinition<T>, ModalDefinition
Indicates that the implementing
Definition can be transformed into a JDA entity that has a CustomId.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiontoJDAEntity(CustomId customId) Transforms thisDefinitioninto a JDA entity of the given typeT.Methods inherited from interface Definition
definitionId, displayName
-
Method Details
-
toJDAEntity
-