Interface EventListener

    • Method Detail

      • hasKnownSupportedEventTypes

        default boolean hasKnownSupportedEventTypes()
        Check if explicitly supported event types are available. It not, this does not mean it does not support types, just they are not explicitly known or defined by the listener
        Returns:
        true when available, false otherwise
      • getKnownSupportedEventTypes

        default EventType[] getKnownSupportedEventTypes()
        Collect explicitly supported event types that are known. When not defined the user has to explicitly provide them upon registering the listener on an event producer, otherwise they can be extracted from here
        Returns:
        the supported event types