Class AgentRuleRunStore
java.lang.Object
com.xebialabs.xlrelease.agentrules.AgentRuleRunStore
Recent agent-rule runs, newest first, for the run-history view.
Deliberately in-memory and bounded for this phase: a run record is operational visibility, not audit truth (the audit trail is the activity log and task comments, which are persisted). Restart loses the window; the durable transcript store arrives with the assistant-side headless-run API, which persists runs at the source.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(AgentRuleRun run) Newest-first window, optionally filtered.voidupdate(AgentRuleRun run) Replaces the run with the same id (a run moving to a terminal status).
-
Constructor Details
-
AgentRuleRunStore
public AgentRuleRunStore()
-
-
Method Details
-
add
-
update
Replaces the run with the same id (a run moving to a terminal status). No-op if evicted. -
list
Newest-first window, optionally filtered.- Parameters:
ruleId- only runs of this rule, ornullfor allreleaseId- only runs on this release, ornullfor alllimit- maximum entries returned; values outside 1..500 are clamped
-