Class ComponentHandler
java.lang.Object
io.github.kaktushose.jdac.dispatching.handling.EventHandler<GenericComponentInteractionCreateEvent>
io.github.kaktushose.jdac.dispatching.handling.ComponentHandler
- All Implemented Interfaces:
BiConsumer<GenericComponentInteractionCreateEvent, Runtime>
@Internal
public final class ComponentHandler
extends EventHandler<GenericComponentInteractionCreateEvent>
-
Nested Class Summary
Nested classes/interfaces inherited from class EventHandler
EventHandler.PreparationResult -
Field Summary
Fields inherited from class EventHandler
errorMessageFactory, interactionRegistry, INVOCATION_PERMITTED, log, runtimeIntrospection -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected EventHandler.PreparationResultprepare(GenericComponentInteractionCreateEvent genericEvent, Runtime runtime) Methods inherited from class EventHandler
acceptMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BiConsumer
andThen
-
Constructor Details
-
ComponentHandler
-
-
Method Details
-
prepare
protected EventHandler.PreparationResult prepare(GenericComponentInteractionCreateEvent genericEvent, Runtime runtime) - Specified by:
preparein classEventHandler<GenericComponentInteractionCreateEvent>
-