Interface Subscriber<T extends FrameworkEvent>

Type Parameters:
T - the subscribed to FrameworkEvent
All Superinterfaces:
BiConsumer<T, Introspection>

public interface Subscriber<T extends FrameworkEvent> extends BiConsumer<T, Introspection>
A Subscriber holds logic that will be executed when a certain FrameworkEvent is published by the framework.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(T t, Introspection introspection)
    Executed when the subscribed to FrameworkEvent (T) is published by the framework.

    Methods inherited from interface BiConsumer

    andThen