Record Class TraceService.McpMergeShardsResult
java.lang.Object
java.lang.Record
com.shaft.mcp.TraceService.McpMergeShardsResult
- Record Components:
schemaVersion- result schema versionmergedAllureResultsDirectory- merged Allure results directory, workspace-relativespeedboardHtmlPath- timeline speedboard HTML path, workspace-relativeshardCount- number of shard blobs mergedtotalResults- total Allure result files mergedflakyClusters- tests observed with inconsistent pass/fail outcomes across shardsshardIntelligence- per-shard doctorExecutionIntelligencedigests, for shards that had onewarnings- safe warnings (e.g. an unreadable shard blob was skipped)
- Enclosing class:
TraceService
public static record TraceService.McpMergeShardsResult(String schemaVersion, String mergedAllureResultsDirectory, String speedboardHtmlPath, int shardCount, int totalResults, List<FlakyCluster> flakyClusters, List<ShardIntelligence> shardIntelligence, List<String> warnings)
extends Record
Merged-shard report result.
-
Constructor Summary
ConstructorsConstructorDescriptionMcpMergeShardsResult(String schemaVersion, String mergedAllureResultsDirectory, String speedboardHtmlPath, int shardCount, int totalResults, List<FlakyCluster> flakyClusters, List<ShardIntelligence> shardIntelligence, List<String> warnings) Creates an immutable merge-shards result. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of theflakyClustersrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themergedAllureResultsDirectoryrecord component.Returns the value of theschemaVersionrecord component.intReturns the value of theshardCountrecord component.Returns the value of theshardIntelligencerecord component.Returns the value of thespeedboardHtmlPathrecord component.final StringtoString()Returns a string representation of this record class.intReturns the value of thetotalResultsrecord component.warnings()Returns the value of thewarningsrecord component.
-
Constructor Details
-
McpMergeShardsResult
public McpMergeShardsResult(String schemaVersion, String mergedAllureResultsDirectory, String speedboardHtmlPath, int shardCount, int totalResults, List<FlakyCluster> flakyClusters, List<ShardIntelligence> shardIntelligence, List<String> warnings) Creates an immutable merge-shards 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. 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
-
mergedAllureResultsDirectory
Returns the value of themergedAllureResultsDirectoryrecord component.- Returns:
- the value of the
mergedAllureResultsDirectoryrecord component
-
speedboardHtmlPath
Returns the value of thespeedboardHtmlPathrecord component.- Returns:
- the value of the
speedboardHtmlPathrecord component
-
shardCount
public int shardCount()Returns the value of theshardCountrecord component.- Returns:
- the value of the
shardCountrecord component
-
totalResults
public int totalResults()Returns the value of thetotalResultsrecord component.- Returns:
- the value of the
totalResultsrecord component
-
flakyClusters
Returns the value of theflakyClustersrecord component.- Returns:
- the value of the
flakyClustersrecord component
-
shardIntelligence
Returns the value of theshardIntelligencerecord component.- Returns:
- the value of the
shardIntelligencerecord component
-
warnings
-