Record Class TraceService.McpTraceReadResult
java.lang.Object
java.lang.Record
com.shaft.mcp.TraceService.McpTraceReadResult
- Record Components:
schemaVersion- result schema versiontracePath- resolved trace pathcontent- redacted bounded JSON textmaxCharacters- applied character limittruncated- whether content was truncatedwarnings- safe warnings
- Enclosing class:
TraceService
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontent()Returns the value of thecontentrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of themaxCharactersrecord component.Returns the value of theschemaVersionrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetracePathrecord component.booleanReturns the value of thetruncatedrecord component.warnings()Returns the value of thewarningsrecord component.
-
Constructor Details
-
McpTraceReadResult
-
-
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
-
tracePath
-
content
-
maxCharacters
public int maxCharacters()Returns the value of themaxCharactersrecord component.- Returns:
- the value of the
maxCharactersrecord component
-
truncated
-
warnings
-