Commit Graph

16 Commits

Author SHA1 Message Date
ec73be9046
Split EventBusTest into DispatchTest and CancelTest, add Javadoc 2020-11-26 08:14:11 +01:00
659bd7888f
Simplify cancellation test, fix a typo 2020-11-25 08:35:51 +01:00
8aefb43823
Add Test for Cancellation 2020-11-23 23:42:17 +01:00
1d2102d729
Add event cancellation mechanism to EventBus 2020-10-02 17:50:11 +02:00
dbb816c6cb
Add double checked synchronization to EventBus instance initializer 2020-09-24 17:41:08 +02:00
603a838640 Add Missing Javadoc to EventBusException (#1)
Removed annoying Javadoc error
Reviewed-on: https://git.kske.dev/zdm/event-bus/pulls/1
Reviewed-by: kske <kai@kske.dev>
2020-09-23 20:55:16 +02:00
b6b73d335a
Add logging to EventBus using the Platform Logging API 2020-09-20 15:28:13 +02:00
001c0eea7e
Fix Maven plugin versions for sources and Javadoc, fix <ul> in Javadoc 2020-09-20 14:05:35 +02:00
ba06b49368
Add subtype inclusion for event handlers 2020-09-20 12:20:29 +02:00
7a3debe444
Support parameter-less event handlers
- Add eventType value to Event
- Move semantic event handler checks to EventHandler
- Use Objects#requireNonNull(T) on public API method parameters
- Update README with a parameter-less event handlers section
2020-09-08 20:13:42 +02:00
5f88ad6095
Add a module descriptor for the entire library 2020-09-08 17:06:45 +02:00
bdf7dcfeda
Use singleton EventBus in README and unit test 2020-09-08 09:38:46 +02:00
f407021cea
Bypass method access checks for event handlers 2020-09-08 08:43:53 +02:00
70bcfd5125
Add singleton EventBus instance 2020-09-08 08:43:53 +02:00
d2563518fb
Add simple unit test and fix event handler ordering 2020-09-08 08:43:51 +02:00
88ba515cbf
Add all relevant classes and event bus logic 2020-09-08 08:43:50 +02:00