Record Class TraceService.McpTraceSummary

java.lang.Object
java.lang.Record
com.shaft.mcp.TraceService.McpTraceSummary
Record Components:
schemaVersion - result schema version
tracePath - resolved trace path
status - test status
testClass - failing test class
testMethod - failing test method
displayName - display name
failedAction - failed structured action
exceptionType - exception type
exceptionMessage - exception message
sourceFile - relevant source file
sourceLine - relevant source line
sourceSnippet - bounded source snippet
actionability - optional actionability diagnostics
locatorHealth - optional locator health summary
networkFindings - optional network findings
consoleFindings - optional console findings
recommendations - deterministic next MCP actions
warnings - safe warnings
Enclosing class:
TraceService

public static record TraceService.McpTraceSummary(String schemaVersion, String tracePath, String status, String testClass, String testMethod, String displayName, TraceService.McpTraceActionSummary failedAction, String exceptionType, String exceptionMessage, String sourceFile, String sourceLine, String sourceSnippet, tools.jackson.databind.JsonNode actionability, tools.jackson.databind.JsonNode locatorHealth, List<String> networkFindings, List<String> consoleFindings, List<String> recommendations, List<String> warnings) extends Record
Deterministic SHAFT trace summary.
  • Constructor Details

  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • schemaVersion

      public String schemaVersion()
      Returns the value of the schemaVersion record component.
      Returns:
      the value of the schemaVersion record component
    • tracePath

      public String tracePath()
      Returns the value of the tracePath record component.
      Returns:
      the value of the tracePath record component
    • status

      public String status()
      Returns the value of the status record component.
      Returns:
      the value of the status record component
    • testClass

      public String testClass()
      Returns the value of the testClass record component.
      Returns:
      the value of the testClass record component
    • testMethod

      public String testMethod()
      Returns the value of the testMethod record component.
      Returns:
      the value of the testMethod record component
    • displayName

      public String displayName()
      Returns the value of the displayName record component.
      Returns:
      the value of the displayName record component
    • failedAction

      public TraceService.McpTraceActionSummary failedAction()
      Returns the value of the failedAction record component.
      Returns:
      the value of the failedAction record component
    • exceptionType

      public String exceptionType()
      Returns the value of the exceptionType record component.
      Returns:
      the value of the exceptionType record component
    • exceptionMessage

      public String exceptionMessage()
      Returns the value of the exceptionMessage record component.
      Returns:
      the value of the exceptionMessage record component
    • sourceFile

      public String sourceFile()
      Returns the value of the sourceFile record component.
      Returns:
      the value of the sourceFile record component
    • sourceLine

      public String sourceLine()
      Returns the value of the sourceLine record component.
      Returns:
      the value of the sourceLine record component
    • sourceSnippet

      public String sourceSnippet()
      Returns the value of the sourceSnippet record component.
      Returns:
      the value of the sourceSnippet record component
    • actionability

      public tools.jackson.databind.JsonNode actionability()
      Returns the value of the actionability record component.
      Returns:
      the value of the actionability record component
    • locatorHealth

      public tools.jackson.databind.JsonNode locatorHealth()
      Returns the value of the locatorHealth record component.
      Returns:
      the value of the locatorHealth record component
    • networkFindings

      public List<String> networkFindings()
      Returns the value of the networkFindings record component.
      Returns:
      the value of the networkFindings record component
    • consoleFindings

      public List<String> consoleFindings()
      Returns the value of the consoleFindings record component.
      Returns:
      the value of the consoleFindings record component
    • recommendations

      public List<String> recommendations()
      Returns the value of the recommendations record component.
      Returns:
      the value of the recommendations record component
    • warnings

      public List<String> warnings()
      Returns the value of the warnings record component.
      Returns:
      the value of the warnings record component