Interface ObserverConfigurator.NotifyGeneration

Enclosing class:
ObserverConfigurator

public static interface ObserverConfigurator.NotifyGeneration
  • Method Summary

    Modifier and Type
    Method
    Description
    io.quarkus.gizmo2.Var
    Returns the parameter of the generated notification method that contains the EventContext.
    io.quarkus.gizmo2.creator.BlockCreator
    Returns the BlockCreator for the generated notify method.
    io.quarkus.gizmo2.creator.ClassCreator
    Returns the generated class of the observer.
    default io.quarkus.gizmo2.Var
    Returns the field on the observerClass() that contains the parameter map.
  • Method Details

    • observerClass

      io.quarkus.gizmo2.creator.ClassCreator observerClass()
      Returns the generated class of the observer. This class contains the generated notify method.
      Returns:
      the generated class of the observer
      See Also:
    • notifyMethod

      io.quarkus.gizmo2.creator.BlockCreator notifyMethod()
      Returns the BlockCreator for the generated notify method. This method is supposed to contain the logic of the observer.
      Returns:
      the BlockCreator for the generated notify method
    • paramsMap

      default io.quarkus.gizmo2.Var paramsMap()
      Returns the field on the observerClass() that contains the parameter map.
      Returns:
      the field on the observerClass() that contains the parameter map
    • eventContext

      io.quarkus.gizmo2.Var eventContext()
      Returns the parameter of the generated notification method that contains the EventContext.
      Returns:
      the parameter of the generated notification method that contains the EventContext
      See Also: