Interface EventHandler

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface EventHandler
    Main interface for Lifecycle Event Handlers. A Runnable does not suffice because the an event handler may throw a checked exception.
    See Also:
    Lifecycle Events in documentation