Uses of Interface
com.github.kaktushose.jda.commands.definitions.Definition
Package
Description
This package contains interfaces that implement some form of functionality for a definition, that not all definitions might share.
Definitions
that represent any type interaction.Definitions
that represent a command interaction.Definitions
that represent component interactions.Definitions
that represent select menu interactions.-
Uses of Definition in com.github.kaktushose.jda.commands.definitions.features
Modifier and TypeInterfaceDescriptioninterface
Indicates that the implementingDefinition
can be transformed into a JDA entity that has aCustomId
.interface
JDAEntity<T>
Indicates that the implementingDefinition
can be transformed into a JDA entity. -
Uses of Definition in com.github.kaktushose.jda.commands.definitions.features.internal
Modifier and TypeInterfaceDescriptioninterface
com.github.kaktushose.jda.commands.definitions.features.internal.Invokable
Indicates that the implementingDefinition
is bound to a method that can be invoked. -
Uses of Definition in com.github.kaktushose.jda.commands.definitions.interactions
Modifier and TypeInterfaceDescriptioninterface
Common interface for all definitions that represent an interaction.Modifier and TypeClassDescriptionfinal record
Representation of an auto complete handler.final record
Representation of a modal.static final record
Representation of a modal text input defined byTextInput
Modifier and TypeMethodDescription@NotNull Set
<Definition> InteractionRegistry.definitions()
Returns the value of thedefinitions
record component.ModifierConstructorDescriptionInteractionRegistry
(@NotNull DependencyInjector dependencyInjector, @NotNull com.github.kaktushose.jda.commands.dispatching.validation.internal.Validators validators, @NotNull LocalizationFunction localizationFunction, @NotNull Descriptor descriptor, @NotNull Set<Definition> definitions) Creates an instance of aInteractionRegistry
record class. -
Uses of Definition in com.github.kaktushose.jda.commands.definitions.interactions.command
Modifier and TypeInterfaceDescriptioninterface
Common interface for command interaction definitions.Modifier and TypeClassDescriptionfinal record
Representation of a context command.final record
Representation of a slash command parameter.static final record
Representation of a parameter constraint defined by a constraint annotation.final record
Representation of a slash command.static final record
Representation of a cooldown definition defined byCooldown
. -
Uses of Definition in com.github.kaktushose.jda.commands.definitions.interactions.component
Modifier and TypeInterfaceDescriptioninterface
Common interface for component interaction definitions.