Record Class McpScenarioCatalogResult
java.lang.Object
java.lang.Record
com.shaft.mcp.McpScenarioCatalogResult
- Record Components:
schemaVersion- response schema versionarea- requested catalog areaintent- requested user intentscenarios- matching scenariosguidanceRules- global rules for all scenarioswarnings- safe warnings for the calling agent
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMcpScenarioCatalogResult(String schemaVersion, String area, String intent, List<McpTestAutomationScenario> scenarios, List<String> guidanceRules, List<String> warnings) Creates an immutable catalog result. -
Method Summary
Modifier and TypeMethodDescriptionarea()Returns the value of thearearecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theguidanceRulesrecord component.final inthashCode()Returns a hash code value for this object.intent()Returns the value of theintentrecord component.Returns the value of thescenariosrecord component.Returns the value of theschemaVersionrecord component.final StringtoString()Returns a string representation of this record class.warnings()Returns the value of thewarningsrecord component.
-
Field Details
-
CURRENT_SCHEMA_VERSION
-
-
Constructor Details
-
McpScenarioCatalogResult
-
-
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
-
area
-
intent
-
scenarios
-
guidanceRules
Returns the value of theguidanceRulesrecord component.- Returns:
- the value of the
guidanceRulesrecord component
-
warnings
-