Class AgentRuleRun
java.lang.Object
com.xebialabs.xlrelease.agentrules.AgentRuleRun
One firing of an agent rule, as shown in the run-history view. Immutable snapshot; the store
replaces the entry to advance a run's status.
Plain final class with getters, not a record — this shape is serialized to the UI and the repo's restdoc toolchain does not process records.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAgentRuleRun(String runId, String ruleId, String ruleTitle, String eventType, String taskId, String releaseId, String releaseTitle, long startedAt, Long finishedAt, String status, String detail) AgentRuleRun(String runId, String ruleId, String ruleTitle, String eventType, String taskId, String releaseId, String releaseTitle, long startedAt, Long finishedAt, String status, String detail, String outcome, String actions) -
Method Summary
Modifier and TypeMethodDescriptionThe same run, moved to a terminal status with its outcome detail.Terminal, including the flow verdict: the agent's classified outcome and the action log.Human-readable log of the actions taken for the matched branch, when the rule has a flow.The agent's classified outcome (branch name), when the rule has a flow.getRunId()long
-
Field Details
-
RUNNING
- See Also:
-
SUCCEEDED
- See Also:
-
FAILED
- See Also:
-
SUPPRESSED
- See Also:
-
-
Constructor Details
-
AgentRuleRun
-
AgentRuleRun
-
-
Method Details
-
finished
The same run, moved to a terminal status with its outcome detail. -
finished
public AgentRuleRun finished(String newStatus, String newDetail, String newOutcome, String newActions, long now) Terminal, including the flow verdict: the agent's classified outcome and the action log. -
getRunId
-
getRuleId
-
getRuleTitle
-
getEventType
-
getTaskId
-
getReleaseId
-
getReleaseTitle
-
getStartedAt
public long getStartedAt() -
getFinishedAt
-
getStatus
-
getDetail
-
getOutcome
The agent's classified outcome (branch name), when the rule has a flow. -
getActions
Human-readable log of the actions taken for the matched branch, when the rule has a flow.
-