Class A2aTaskStore
java.lang.Object
com.xebialabs.xlrelease.a2a.server.A2aTaskStore
Recently answered A2A tasks, so a client that got a task from
SendMessage can read it
back with GetTask.
Phase-0 scope on purpose: skills execute synchronously, so a stored task is already terminal — this is a short-lived read-back window, not a work queue. In-memory, LRU-bounded, and lost on restart (a client then gets task-not-found and resends). The Phase-1 release-lifecycle mapping replaces this with persistent correlation to real releases; see the design doc §4.3.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
A2aTaskStore
public A2aTaskStore()
-
-
Method Details
-
put
-
get
The stored task.Taskis an immutable record, so unlike the mutable JSON tree this used to hold there is nothing for a caller to corrupt and no defensive copy to make.
-