public class TimedEventExecutor extends Object implements EventExecutor
Constructor and Description |
---|
TimedEventExecutor(EventExecutor executor,
Plugin plugin,
Method method,
Class<? extends Event> eventClass)
Wraps an event executor and associates a timing handler to it.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(Listener listener,
Event event) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
create
public TimedEventExecutor(EventExecutor executor, Plugin plugin, Method method, Class<? extends Event> eventClass)
executor
- plugin
- method
- eventClass
- public void execute(Listener listener, Event event) throws EventException
execute
in interface EventExecutor
EventException
Copyright © 2022. All rights reserved.