Interface Definition
- All Known Subinterfaces:
CommandDefinition
,ComponentDefinition<T>
,CustomIdJDAEntity<T>
,InteractionDefinition
,Invokable
,JDAEntity<T>
,SelectMenuDefinition<T>
- All Known Implementing Classes:
AutoCompleteDefinition
,ButtonDefinition
,ContextCommandDefinition
,EntitySelectMenuDefinition
,ModalDefinition
,ModalDefinition.TextInputDefinition
,OptionDataDefinition
,OptionDataDefinition.ConstraintDefinition
,SlashCommandDefinition
,SlashCommandDefinition.CooldownDefinition
,StringSelectMenuDefinition
,StringSelectMenuDefinition.SelectOptionDefinition
public sealed interface Definition
permits CustomIdJDAEntity<T>, Invokable, JDAEntity<T>, InteractionDefinition, ModalDefinition.TextInputDefinition, OptionDataDefinition, OptionDataDefinition.ConstraintDefinition, SlashCommandDefinition.CooldownDefinition, StringSelectMenuDefinition.SelectOptionDefinition
The common interface for all interaction definitions and their sub parts, such as parameters or text inputs, etc.
-
Method Details
-
definitionId
The id for this definition. Per default this is the hash code of theObject.toString()
method. -
displayName
The human-readable name of this definition.
-