Record Class McpHealerRunResult
java.lang.Object
java.lang.Record
com.shaft.mcp.McpHealerRunResult
- Record Components:
schemaVersion- result schema versionstatus- overall healer statusattempts- guarded rerun attemptsanalysis- latest Doctor analysis, when a failing Allure attempt was availableactions- review-only remediation actionscodeBlocks- review-only snippets and agent handoff instructionswarnings- safe warnings
public record McpHealerRunResult(String schemaVersion, McpHealerRunResult.Status status, List<McpHealerAttemptResult> attempts, McpAnalysisReport analysis, List<McpActionRecord> actions, List<McpCodeBlock> codeBlocks, List<String> warnings)
extends Record
MCP healer result for guarded Selenium/SHAFT test reruns and review-only fixes.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMcpHealerRunResult(String schemaVersion, McpHealerRunResult.Status status, List<McpHealerAttemptResult> attempts, McpAnalysisReport analysis, List<McpActionRecord> actions, List<McpCodeBlock> codeBlocks, List<String> warnings) Creates an immutable healer result. -
Method Summary
Modifier and TypeMethodDescriptionactions()Returns the value of theactionsrecord component.analysis()Returns the value of theanalysisrecord component.attempts()Returns the value of theattemptsrecord component.Returns the value of thecodeBlocksrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theschemaVersionrecord component.status()Returns the value of thestatusrecord 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
-
McpHealerRunResult
public McpHealerRunResult(String schemaVersion, McpHealerRunResult.Status status, List<McpHealerAttemptResult> attempts, McpAnalysisReport analysis, List<McpActionRecord> actions, List<McpCodeBlock> codeBlocks, List<String> warnings) Creates an immutable healer result.
-
-
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
-
status
-
attempts
-
analysis
-
actions
-
codeBlocks
Returns the value of thecodeBlocksrecord component.- Returns:
- the value of the
codeBlocksrecord component
-
warnings
-