Class AiAgentLogParser.EventView

java.lang.Object
io.jenkins.plugins.aiagentjob.AiAgentLogParser.EventView
Enclosing class:
AiAgentLogParser

public static final class AiAgentLogParser.EventView extends Object
Represents a single conversation event for rendering in the UI.
  • Method Details

    • getId

      public long getId()
    • getCategory

      public String getCategory()
    • getLabel

      public String getLabel()
      Short display label like "Assistant", "Bash", "Read", "Result (2.3s)".
    • getContent

      public String getContent()
      Full text content for messages, results, and thinking.
    • getToolInput

      public String getToolInput()
      Tool input: command text, file path, etc.
    • getToolOutput

      public String getToolOutput()
      Tool output excerpt.
    • getRawDetails

      public String getRawDetails()
      Raw JSON for the detail drill-down.
    • getTimestamp

      public Instant getTimestamp()
    • isDelta

      public boolean isDelta()
    • getCategoryLabel

      public String getCategoryLabel()
    • getSummary

      public String getSummary()
      One-line summary for progressive events API backwards compat.
    • isEmpty

      public boolean isEmpty()
    • isInlineContent

      public boolean isInlineContent()
      Whether this event should show its content directly (not behind a click).
    • isToolEvent

      public boolean isToolEvent()
      Whether this event is a tool call or tool result.
    • getContentHtml

      public String getContentHtml()
      Returns content converted from markdown to basic HTML for display in Jelly.