Package io.quarkiverse.mcp.server
Interface NotificationManager
- All Superinterfaces:
- FeatureManager<NotificationManager.NotificationInfo>,- Iterable<NotificationManager.NotificationInfo>
- All Known Implementing Classes:
- NotificationManagerImpl
This manager can be used to register a new 
Notification callback programmatically.- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic interfaceNotificationManager.NotificationInfodefinition.static interfaceNotification callback info.Nested classes/interfaces inherited from interface io.quarkiverse.mcp.server.FeatureManagerFeatureManager.FeatureArguments, FeatureManager.FeatureDefinition<INFO extends FeatureManager.FeatureInfo,ARGUMENTS extends FeatureManager.FeatureArguments, RESPONSE, THIS extends FeatureManager.FeatureDefinition<INFO, ARGUMENTS, RESPONSE, THIS>>, FeatureManager.FeatureInfo, FeatureManager.RequestFeatureArguments 
- 
Method SummaryModifier and TypeMethodDescriptiongetNotification(Notification.Type type, String name) newNotification(String name) booleanRemoves an init callback previously added withnewNotification(String).Methods inherited from interface java.lang.IterableforEach, iterator, spliterator
- 
Method Details- 
getNotification- Parameters:
- type-
- name-
- Returns:
- the notification callback of the given type with the given name, or null
 
- 
newNotification- Parameters:
- name- The name must be unique
- Returns:
- a new definition builder
- See Also:
 
- 
removeNotificationRemoves an init callback previously added withnewNotification(String).- Returns:
- the removed notification callback or nullif no such notification callback existed
 
 
-