Package io.quarkus.arc.processor
Interface ObserverConfigurator.NotifyGeneration
- Enclosing class:
ObserverConfigurator
public static interface ObserverConfigurator.NotifyGeneration
-
Method Summary
Modifier and TypeMethodDescriptionio.quarkus.gizmo2.VarReturns the parameter of the generated notification method that contains theEventContext.io.quarkus.gizmo2.creator.BlockCreatorReturns theBlockCreatorfor the generatednotifymethod.io.quarkus.gizmo2.creator.ClassCreatorReturns the generated class of the observer.default io.quarkus.gizmo2.VarReturns the field on theobserverClass()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 generatednotifymethod.- Returns:
- the generated class of the observer
- See Also:
-
notifyMethod
io.quarkus.gizmo2.creator.BlockCreator notifyMethod()Returns theBlockCreatorfor the generatednotifymethod. This method is supposed to contain the logic of the observer.- Returns:
- the
BlockCreatorfor the generatednotifymethod
-
paramsMap
default io.quarkus.gizmo2.Var paramsMap()Returns the field on theobserverClass()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 theEventContext.- Returns:
- the parameter of the generated notification method that contains
the
EventContext - See Also:
-