Record Class MergedReport

java.lang.Object
java.lang.Record
com.shaft.doctor.shard.MergedReport
Record Components:
mergedAllureResultsDirectory - one Allure results directory combining every shard's results
speedboardHtmlPath - timeline HTML path (slowest tests first, flaky tests flagged)
shardCount - number of shard blobs merged
totalResults - total Allure result files merged (containers/attachments not counted)
flakyClusters - tests observed with inconsistent pass/fail outcomes across shards
shardIntelligence - per-shard doctor ExecutionIntelligence digests, for shards that had one
warnings - safe warnings (e.g. an unreadable shard blob was skipped)

public record MergedReport(Path mergedAllureResultsDirectory, Path speedboardHtmlPath, int shardCount, int totalResults, List<FlakyCluster> flakyClusters, List<ShardIntelligence> shardIntelligence, List<String> warnings) extends Record
Outcome of merging N shard blobs into one Allure result set plus a timeline "speedboard" and cross-shard flaky-clustering summary.
  • 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. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      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.
    • mergedAllureResultsDirectory

      public Path mergedAllureResultsDirectory()
      Returns the value of the mergedAllureResultsDirectory record component.
      Returns:
      the value of the mergedAllureResultsDirectory record component
    • speedboardHtmlPath

      public Path speedboardHtmlPath()
      Returns the value of the speedboardHtmlPath record component.
      Returns:
      the value of the speedboardHtmlPath record component
    • shardCount

      public int shardCount()
      Returns the value of the shardCount record component.
      Returns:
      the value of the shardCount record component
    • totalResults

      public int totalResults()
      Returns the value of the totalResults record component.
      Returns:
      the value of the totalResults record component
    • flakyClusters

      public List<FlakyCluster> flakyClusters()
      Returns the value of the flakyClusters record component.
      Returns:
      the value of the flakyClusters record component
    • shardIntelligence

      public List<ShardIntelligence> shardIntelligence()
      Returns the value of the shardIntelligence record component.
      Returns:
      the value of the shardIntelligence record component
    • warnings

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