Record Class McpTestPlanExploreResult
java.lang.Object
java.lang.Record
com.shaft.mcp.McpTestPlanExploreResult
public record McpTestPlanExploreResult(String schemaVersion, int pagesVisited, List<String> plansWritten, List<String> warnings)
extends Record
Result of a
test_plan_explore breadth-first crawl: how many pages were visited, the
workspace-relative Markdown test-plan files written into specs/, and any bounded-crawl
or fail-soft warnings raised along the way.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thepagesVisitedrecord component.Returns the value of theplansWrittenrecord component.Returns the value of theschemaVersionrecord component.final StringtoString()Returns a string representation of this record class.warnings()Returns the value of thewarningsrecord component.
-
Constructor Details
-
McpTestPlanExploreResult
public McpTestPlanExploreResult(String schemaVersion, int pagesVisited, List<String> plansWritten, List<String> warnings) Creates an instance of aMcpTestPlanExploreResultrecord class.- Parameters:
schemaVersion- the value for theschemaVersionrecord componentpagesVisited- the value for thepagesVisitedrecord componentplansWritten- the value for theplansWrittenrecord componentwarnings- the value for thewarningsrecord component
-
-
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
-
pagesVisited
public int pagesVisited()Returns the value of thepagesVisitedrecord component.- Returns:
- the value of the
pagesVisitedrecord component
-
plansWritten
-
warnings
-