Class AgentRuleRun

java.lang.Object
com.xebialabs.xlrelease.agentrules.AgentRuleRun

public final class AgentRuleRun extends Object
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 Details

  • Constructor Details

  • Method Details

    • finished

      public AgentRuleRun finished(String newStatus, String newDetail, long now)
      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

      public String getRunId()
    • getRuleId

      public String getRuleId()
    • getRuleTitle

      public String getRuleTitle()
    • getEventType

      public String getEventType()
    • getTaskId

      public String getTaskId()
    • getReleaseId

      public String getReleaseId()
    • getReleaseTitle

      public String getReleaseTitle()
    • getStartedAt

      public long getStartedAt()
    • getFinishedAt

      public Long getFinishedAt()
    • getStatus

      public String getStatus()
    • getDetail

      public String getDetail()
    • getOutcome

      public String getOutcome()
      The agent's classified outcome (branch name), when the rule has a flow.
    • getActions

      public String getActions()
      Human-readable log of the actions taken for the matched branch, when the rule has a flow.