Record Class TraceService.McpTraceSummary
java.lang.Object
java.lang.Record
com.shaft.mcp.TraceService.McpTraceSummary
- Record Components:
schemaVersion- result schema versiontracePath- resolved trace pathstatus- test statustestClass- failing test classtestMethod- failing test methoddisplayName- display namefailedAction- failed structured actionexceptionType- exception typeexceptionMessage- exception messagesourceFile- relevant source filesourceLine- relevant source linesourceSnippet- bounded source snippetactionability- optional actionability diagnosticslocatorHealth- optional locator health summarynetworkFindings- optional network findingsconsoleFindings- optional console findingsrecommendations- deterministic next MCP actionswarnings- 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 Summary
ConstructorsConstructorDescriptionMcpTraceSummary(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) Creates an immutable trace summary. -
Method Summary
Modifier and TypeMethodDescriptiontools.jackson.databind.JsonNodeReturns the value of theactionabilityrecord component.Returns the value of theconsoleFindingsrecord component.Returns the value of thedisplayNamerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexceptionMessagerecord component.Returns the value of theexceptionTyperecord component.Returns the value of thefailedActionrecord component.final inthashCode()Returns a hash code value for this object.tools.jackson.databind.JsonNodeReturns the value of thelocatorHealthrecord component.Returns the value of thenetworkFindingsrecord component.Returns the value of therecommendationsrecord component.Returns the value of theschemaVersionrecord component.Returns the value of thesourceFilerecord component.Returns the value of thesourceLinerecord component.Returns the value of thesourceSnippetrecord component.status()Returns the value of thestatusrecord component.Returns the value of thetestClassrecord component.Returns the value of thetestMethodrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetracePathrecord component.warnings()Returns the value of thewarningsrecord component.
-
Constructor Details
-
McpTraceSummary
public 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) Creates an immutable trace summary.
-
-
Method Details
-
toString
-
hashCode
-
equals
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 withObjects::equals(Object,Object). -
schemaVersion
Returns the value of theschemaVersionrecord component.- Returns:
- the value of the
schemaVersionrecord component
-
tracePath
-
status
-
testClass
-
testMethod
Returns the value of thetestMethodrecord component.- Returns:
- the value of the
testMethodrecord component
-
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
failedAction
Returns the value of thefailedActionrecord component.- Returns:
- the value of the
failedActionrecord component
-
exceptionType
Returns the value of theexceptionTyperecord component.- Returns:
- the value of the
exceptionTyperecord component
-
exceptionMessage
Returns the value of theexceptionMessagerecord component.- Returns:
- the value of the
exceptionMessagerecord component
-
sourceFile
Returns the value of thesourceFilerecord component.- Returns:
- the value of the
sourceFilerecord component
-
sourceLine
Returns the value of thesourceLinerecord component.- Returns:
- the value of the
sourceLinerecord component
-
sourceSnippet
Returns the value of thesourceSnippetrecord component.- Returns:
- the value of the
sourceSnippetrecord component
-
actionability
public tools.jackson.databind.JsonNode actionability()Returns the value of theactionabilityrecord component.- Returns:
- the value of the
actionabilityrecord component
-
locatorHealth
public tools.jackson.databind.JsonNode locatorHealth()Returns the value of thelocatorHealthrecord component.- Returns:
- the value of the
locatorHealthrecord component
-
networkFindings
Returns the value of thenetworkFindingsrecord component.- Returns:
- the value of the
networkFindingsrecord component
-
consoleFindings
Returns the value of theconsoleFindingsrecord component.- Returns:
- the value of the
consoleFindingsrecord component
-
recommendations
Returns the value of therecommendationsrecord component.- Returns:
- the value of the
recommendationsrecord component
-
warnings
-