Record Class TraceService.McpTraceViewerResult
java.lang.Object
java.lang.Record
com.shaft.mcp.TraceService.McpTraceViewerResult
- Record Components:
schemaVersion- result schema versionviewerPath- resolved viewer HTML path, or blank when it could not be resolvedextracted- whether the HTML was freshly extracted from the trace ZIP this callwarnings- safe warnings, non-empty only whenviewerPathis blank
- Enclosing class:
TraceService
-
Constructor Summary
ConstructorsConstructorDescriptionMcpTraceViewerResult(String schemaVersion, String viewerPath, boolean extracted, List<String> warnings) Creates an immutable trace viewer result. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.booleanReturns the value of theextractedrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theschemaVersionrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theviewerPathrecord component.warnings()Returns the value of thewarningsrecord component.
-
Constructor Details
-
McpTraceViewerResult
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
schemaVersion
Returns the value of theschemaVersionrecord component.- Returns:
- the value of the
schemaVersionrecord component
-
viewerPath
Returns the value of theviewerPathrecord component.- Returns:
- the value of the
viewerPathrecord component
-
extracted
-
warnings
-