Class AcpLogFormat

java.lang.Object
io.jenkins.plugins.aiagentjob.AcpLogFormat
All Implemented Interfaces:
AiAgentLogFormat

public final class AcpLogFormat extends Object implements AiAgentLogFormat
Classifies standard Agent Client Protocol messages shared by ACP-capable handlers.
  • Field Details

  • Method Details

    • classify

      public AiAgentLogParser.ParsedLine classify(long lineNumber, net.sf.json.JSONObject json)
      Description copied from interface: AiAgentLogFormat
      Attempt to classify a single JSON object into a parsed event.
      Specified by:
      classify in interface AiAgentLogFormat
      Parameters:
      lineNumber - 1-based line number in the raw log file
      json - the parsed JSON object for this line
      Returns:
      a classified AiAgentLogParser.ParsedLine, or null if this format does not handle the given JSON structure