EventExecutor
public class TimedEventExecutor extends Object implements EventExecutor
eventExecutorMap
Constructor | 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 | Description |
---|---|---|
void |
execute(Listener listener,
Event event) |
public TimedEventExecutor(EventExecutor executor, Plugin plugin, Method method, Class<? extends Event> eventClass)
executor
- Executor to wrapplugin
- Owning pluginmethod
- EventHandler methodeventClass
- Owning classpublic void execute(Listener listener, Event event) throws EventException
execute
in interface EventExecutor
EventException
Copyright © 2019. All rights reserved.