Record Class McpVerificationResult
java.lang.Object
java.lang.Record
com.shaft.mcp.McpVerificationResult
- Record Components:
schemaVersion- response schema versionstatus- PASSED, FAILED, or TIMED_OUTexitCode- process exit code (-1 when timed out)timedOut- whether the command exceeded the verification timeoutcommand- the exact tokenized command that ran after guardrailsoutputSummary- redacted, length-bounded process outputwarnings- safe guardrail reminders
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncommand()Returns the value of thecommandrecord component.final booleanIndicates whether some other object is "equal to" this one.intexitCode()Returns the value of theexitCoderecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theoutputSummaryrecord component.Returns the value of theschemaVersionrecord component.status()Returns the value of thestatusrecord component.booleantimedOut()Returns the value of thetimedOutrecord component.final StringtoString()Returns a string representation of this record class.warnings()Returns the value of thewarningsrecord component.
-
Constructor Details
-
McpVerificationResult
-
-
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
-
status
-
exitCode
-
timedOut
-
command
-
outputSummary
Returns the value of theoutputSummaryrecord component.- Returns:
- the value of the
outputSummaryrecord component
-
warnings
-