MethodHandleEventExecutor
, StaticMethodHandleEventExecutor
, TimedEventExecutor
public interface EventExecutor
Modifier and Type | Field | Description |
---|---|---|
static ConcurrentMap<Method,Class<? extends EventExecutor>> |
eventExecutorMap |
Modifier and Type | Method | Description |
---|---|---|
static @NotNull EventExecutor |
create(@NotNull Method m,
@NotNull Class<? extends Event> eventClass) |
|
void |
execute(@NotNull Listener listener,
@NotNull Event event) |
static final ConcurrentMap<Method,Class<? extends EventExecutor>> eventExecutorMap
void execute(@NotNull @NotNull Listener listener, @NotNull @NotNull Event event) throws EventException
EventException
@NotNull static @NotNull EventExecutor create(@NotNull @NotNull Method m, @NotNull @NotNull Class<? extends Event> eventClass)
Copyright © 2020. All rights reserved.