Class DefaultTaskStoreServiceImpl

java.lang.Object
com.mulesoft.connectors.a2a.internal.server.agent.repository.DefaultTaskStoreServiceImpl
All Implemented Interfaces:
TaskStoreService

public class DefaultTaskStoreServiceImpl extends Object implements TaskStoreService
Manages updates to task history and task object in the persisted taskJson format. Format: { "historyLength": int, "history": [], "task": {} }
  • Field Details

  • Constructor Details

    • DefaultTaskStoreServiceImpl

      public DefaultTaskStoreServiceImpl(TaskRepository taskRepository)
  • Method Details

    • updateHistory

      public void updateHistory(String taskId, String historyObj) throws org.mule.runtime.api.store.ObjectStoreException
      Specified by:
      updateHistory in interface TaskStoreService
      Throws:
      org.mule.runtime.api.store.ObjectStoreException
    • updateTask

      public void updateTask(String taskId, String taskObj) throws org.mule.runtime.api.store.ObjectStoreException
      Specified by:
      updateTask in interface TaskStoreService
      Throws:
      org.mule.runtime.api.store.ObjectStoreException