Package io.jenkins.plugins.aiagentjob
Class AcpLogFormat
java.lang.Object
io.jenkins.plugins.aiagentjob.AcpLogFormat
- All Implemented Interfaces:
AiAgentLogFormat
Classifies standard Agent Client Protocol messages shared by ACP-capable handlers.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionclassify(long lineNumber, net.sf.json.JSONObject json) Attempt to classify a single JSON object into a parsed event.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.jenkins.plugins.aiagentjob.AiAgentLogFormat
classifyAll
-
Field Details
-
INSTANCE
-
-
Method Details
-
classify
Description copied from interface:AiAgentLogFormatAttempt to classify a single JSON object into a parsed event.- Specified by:
classifyin interfaceAiAgentLogFormat- Parameters:
lineNumber- 1-based line number in the raw log filejson- the parsed JSON object for this line- Returns:
- a classified
AiAgentLogParser.ParsedLine, ornullif this format does not handle the given JSON structure
-