Interface EventContext<T>

Type Parameters:
T - type of event object

public interface EventContext<T>
Represents a context of a fired event. Provides access to an event object and corresponding metadata.
Since:
2.0
Author:
Martin Kouba
See Also:
  • Method Details Link icon

    • getEvent Link icon

      T getEvent()
      Returns:
      the event object, aka the payload
    • getMetadata Link icon

      EventMetadata getMetadata()
      Returns:
      the event metadata