Package gg.xp.reevent.events
Class TestEventCollector
java.lang.Object
gg.xp.reevent.events.TestEventCollector
- All Implemented Interfaces:
EventHandler<Event>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
getEventsOf
(Class<X> eventClass) getEventsOf
(Collection<Class<? extends X>> eventClasses) void
handle
(EventContext context, Event event) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface gg.xp.reevent.events.EventHandler
getOrder
-
Constructor Details
-
TestEventCollector
public TestEventCollector() -
TestEventCollector
public TestEventCollector(boolean log)
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceEventHandler<Event>
-
getEvents
-
getEventsOf
-
getEventsOf
-
clear
public void clear()
-