Package io.a2a.server.tasks
Interface PushNotificationConfigStore
- All Known Implementing Classes:
InMemoryPushNotificationConfigStore
public interface PushNotificationConfigStore
Interface for storing and retrieving push notification configurations for tasks.
-
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteInfo(String taskId, String configId) Deletes the push notification configuration for a task.Retrieves the push notification configuration for a task.voidsetInfo(String taskId, PushNotificationConfig notificationConfig) Sets or updates the push notification configuration for a task.
-
Method Details
-
setInfo
Sets or updates the push notification configuration for a task.- Parameters:
taskId- the task IDnotificationConfig- the push notification configuration
-
getInfo
Retrieves the push notification configuration for a task.- Parameters:
taskId- the task ID- Returns:
- the push notification configurations for a task
-
deleteInfo
Deletes the push notification configuration for a task.- Parameters:
taskId- the task IDconfigId- the push notification configuration
-