Provides core support for handling events with Velocity. Subpackages include event classes.
Interface Summary Interface Description ContinuationRepresents a continuation of a paused event handler. EventHandler<E>Allows a listener to receive direct dispatches of events. EventManagerAllows plugins to register and deregister listeners for event handlers. ResultedEvent<R extends ResultedEvent.Result>Indicates an event that has a result attached to it. ResultedEvent.ResultRepresents a result for an event.
Class Summary Class Description EventTaskRepresents a task that can be returned by a
EventHandlerwhich allows event handling to be suspended and resumed at a later time, and executing event handlers completely or partially asynchronously.
EventTask.BasicRepresents a basic
EventTask.WithContinuation ResultedEvent.ComponentResultRepresents an "allowed/denied" result with a reason allowed for denial. ResultedEvent.GenericResultA generic "allowed/denied" result.
Enum Summary Enum Description PostOrderProvides convenient shorthands for represents the order an event will be posted to a listener.
Annotation Types Summary Annotation Type Description SubscribeAn annotation that indicates that this method can be used to listen for an event from the proxy.