Record Class McpTestAutomationScenario

java.lang.Object
java.lang.Record
com.shaft.mcp.McpTestAutomationScenario
Record Components:
id - stable scenario id
title - short scenario title
areas - supported automation areas
userPrompts - sample user prompts that should route to this scenario
mcpTools - MCP tools the calling agent should consider
agentActions - ordered actions for the calling agent
repoPattern - target repository design pattern
guardrails - rules that must hold for generated or edited code
completionCriteria - 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 Details

  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • id

      public String id()
      Returns the value of the id record component.
      Returns:
      the value of the id record component
    • title

      public String title()
      Returns the value of the title record component.
      Returns:
      the value of the title record component
    • areas

      public List<String> areas()
      Returns the value of the areas record component.
      Returns:
      the value of the areas record component
    • userPrompts

      public List<String> userPrompts()
      Returns the value of the userPrompts record component.
      Returns:
      the value of the userPrompts record component
    • mcpTools

      public List<String> mcpTools()
      Returns the value of the mcpTools record component.
      Returns:
      the value of the mcpTools record component
    • agentActions

      public List<String> agentActions()
      Returns the value of the agentActions record component.
      Returns:
      the value of the agentActions record component
    • repoPattern

      public List<String> repoPattern()
      Returns the value of the repoPattern record component.
      Returns:
      the value of the repoPattern record component
    • guardrails

      public List<String> guardrails()
      Returns the value of the guardrails record component.
      Returns:
      the value of the guardrails record component
    • completionCriteria

      public List<String> completionCriteria()
      Returns the value of the completionCriteria record component.
      Returns:
      the value of the completionCriteria record component