Interface RegistrarEvent<R extends Registrar>

Type Parameters:
R - registrar type
All Superinterfaces:
LifecycleEvent
All Known Subinterfaces:
ReloadableRegistrarEvent<R>

@Experimental @NullMarked @NonExtendable public interface RegistrarEvent<R extends Registrar> extends LifecycleEvent
A lifecycle event that exposes a Registrar of some kind to allow management of various things. Look at implementations of Registrar for an idea of what uses this event.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the registrar related to this event.
  • Method Details

    • registrar

      @Contract(pure=true) R registrar()
      Get the registrar related to this event.
      Returns:
      the registrar