Record Class McpTestAutomationScenario
java.lang.Object
java.lang.Record
com.shaft.mcp.McpTestAutomationScenario
- Record Components:
id- stable scenario idtitle- short scenario titleareas- supported automation areasuserPrompts- sample user prompts that should route to this scenariomcpTools- MCP tools the calling agent should consideragentActions- ordered actions for the calling agentrepoPattern- target repository design patternguardrails- rules that must hold for generated or edited codecompletionCriteria- observable end state for the flow
public record McpTestAutomationScenario(String id, String title, List<String> areas, List<String> userPrompts, List<String> mcpTools, List<String> agentActions, List<String> repoPattern, List<String> guardrails, List<String> completionCriteria)
extends Record
Test automation use case returned by the MCP scenario catalog.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theagentActionsrecord component.areas()Returns the value of theareasrecord component.Returns the value of thecompletionCriteriarecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theguardrailsrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.mcpTools()Returns the value of themcpToolsrecord component.Returns the value of therepoPatternrecord component.title()Returns the value of thetitlerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theuserPromptsrecord component.
-
Constructor Details
-
McpTestAutomationScenario
-
-
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). -
id
-
title
-
areas
-
userPrompts
Returns the value of theuserPromptsrecord component.- Returns:
- the value of the
userPromptsrecord component
-
mcpTools
-
agentActions
Returns the value of theagentActionsrecord component.- Returns:
- the value of the
agentActionsrecord component
-
repoPattern
Returns the value of therepoPatternrecord component.- Returns:
- the value of the
repoPatternrecord component
-
guardrails
Returns the value of theguardrailsrecord component.- Returns:
- the value of the
guardrailsrecord component
-
completionCriteria
Returns the value of thecompletionCriteriarecord component.- Returns:
- the value of the
completionCriteriarecord component
-