Class JpaDatabasePushNotificationConfigStore

java.lang.Object
org.a2aproject.sdk.extras.pushnotificationconfigstore.database.jpa.JpaDatabasePushNotificationConfigStore
All Implemented Interfaces:
org.a2aproject.sdk.server.tasks.PushNotificationConfigStore

@ApplicationScoped @Alternative @Priority(50) public class JpaDatabasePushNotificationConfigStore extends Object implements org.a2aproject.sdk.server.tasks.PushNotificationConfigStore
  • Constructor Details

    • JpaDatabasePushNotificationConfigStore

      public JpaDatabasePushNotificationConfigStore()
  • Method Details

    • setInfo

      public org.a2aproject.sdk.spec.TaskPushNotificationConfig setInfo(org.a2aproject.sdk.spec.TaskPushNotificationConfig notificationConfig)
      Specified by:
      setInfo in interface org.a2aproject.sdk.server.tasks.PushNotificationConfigStore
    • setInfo

      public org.a2aproject.sdk.spec.TaskPushNotificationConfig setInfo(org.a2aproject.sdk.spec.TaskPushNotificationConfig notificationConfig, @Nullable String protocolVersion)
      Specified by:
      setInfo in interface org.a2aproject.sdk.server.tasks.PushNotificationConfigStore
    • getInfo

      public org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsResult getInfo(org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsParams params)
      Specified by:
      getInfo in interface org.a2aproject.sdk.server.tasks.PushNotificationConfigStore
    • deleteInfo

      public void deleteInfo(String taskId, String configId)
      Specified by:
      deleteInfo in interface org.a2aproject.sdk.server.tasks.PushNotificationConfigStore
    • getProtocolVersion

      public String getProtocolVersion(String taskId, String configId)
      Specified by:
      getProtocolVersion in interface org.a2aproject.sdk.server.tasks.PushNotificationConfigStore
    • getProtocolVersions

      public Map<String,String> getProtocolVersions(String taskId)
      Specified by:
      getProtocolVersions in interface org.a2aproject.sdk.server.tasks.PushNotificationConfigStore