Interface ComponentDefinition<T>
- All Superinterfaces:
CustomIdJDAEntity<T>
,Definition
,InteractionDefinition
,com.github.kaktushose.jda.commands.definitions.features.internal.Invokable
,JDAEntity<T>
- All Known Subinterfaces:
SelectMenuDefinition<T>
- All Known Implementing Classes:
ButtonDefinition
,EntitySelectMenuDefinition
,StringSelectMenuDefinition
public sealed interface ComponentDefinition<T>
extends InteractionDefinition, JDAEntity<T>, CustomIdJDAEntity<T>
permits ButtonDefinition, SelectMenuDefinition<T>
Common interface for component interaction definitions.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.github.kaktushose.jda.commands.definitions.interactions.InteractionDefinition
InteractionDefinition.ReplyConfig
-
Field Summary
Fields inherited from interface com.github.kaktushose.jda.commands.definitions.features.internal.Invokable
log
-
Method Summary
Modifier and TypeMethodDescription@NotNull ClassDescription
TheClassDescription
of the declaring class of themethodDescription()
@NotNull MethodDescription
TheMethodDescription
of the method this definition is bound toMethods inherited from interface com.github.kaktushose.jda.commands.definitions.features.CustomIdJDAEntity
toJDAEntity
Methods inherited from interface com.github.kaktushose.jda.commands.definitions.Definition
displayName
Methods inherited from interface com.github.kaktushose.jda.commands.definitions.interactions.InteractionDefinition
definitionId, newInstance, permissions, replyConfig
Methods inherited from interface com.github.kaktushose.jda.commands.definitions.features.internal.Invokable
invoke
Methods inherited from interface com.github.kaktushose.jda.commands.definitions.features.JDAEntity
toJDAEntity
-
Method Details
-
clazzDescription
TheClassDescription
of the declaring class of themethodDescription()
- Specified by:
clazzDescription
in interfacecom.github.kaktushose.jda.commands.definitions.features.internal.Invokable
-
methodDescription
TheMethodDescription
of the method this definition is bound to- Specified by:
methodDescription
in interfacecom.github.kaktushose.jda.commands.definitions.features.internal.Invokable
-