Class DefaultTaskStoreServiceImpl
java.lang.Object
com.mulesoft.connectors.a2a.internal.server.agent.repository.DefaultTaskStoreServiceImpl
- All Implemented Interfaces:
TaskStoreService
Manages updates to task history and task object in the persisted taskJson format. Format: { "historyLength": int, "history":
[], "task": {} }
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidupdateHistory(String taskId, String historyObj) voidupdateTask(String taskId, String taskObj)
-
Field Details
-
TASK_FIELD
- See Also:
-
HISTORY_FIELD
- See Also:
-
HISTORY_FIELD_LENGTH
- See Also:
-
-
Constructor Details
-
DefaultTaskStoreServiceImpl
-
-
Method Details
-
updateHistory
public void updateHistory(String taskId, String historyObj) throws org.mule.runtime.api.store.ObjectStoreException - Specified by:
updateHistoryin interfaceTaskStoreService- Throws:
org.mule.runtime.api.store.ObjectStoreException
-
updateTask
public void updateTask(String taskId, String taskObj) throws org.mule.runtime.api.store.ObjectStoreException - Specified by:
updateTaskin interfaceTaskStoreService- Throws:
org.mule.runtime.api.store.ObjectStoreException
-