@Retention(value=RUNTIME) @Target(value=METHOD) public @interface EventHandler
EventBus.register(Object)public abstract int priority
EventPriority.NORMAL unless otherwise specified.EventPrioritypublic abstract boolean vetoable
true, and setting this to false should be used
with extreme caution. Handlers that are not vetoable will still be run
after a more important event has specifically requested that they not,
and as such may cause some logical errors.
Specifically, true status should be reserved either for event
handlers vital to the operation of the event bus host, or completely
passive events (such as loggers) that can't have an effect on the greater
system.
Copyright © 2014. All rights reserved.