Record Class ShardBlob
java.lang.Object
java.lang.Record
com.shaft.doctor.shard.ShardBlob
- Record Components:
root- shard blob root directoryallureResults-allure-resultssubdirectory, may not existtraces-shaft-tracessubdirectory, may not existexecutionIntelligence-execution-intelligence.jsonfile, may not exist
public record ShardBlob(Path root, Path allureResults, Path traces, Path executionIntelligence)
extends Record
One resolved per-shard blob directory laid out by convention as:
<shardRoot>/
allure-results/*.json (raw Allure result/container/attachment files)
shaft-traces/... (optional, copied through untouched)
execution-intelligence.json (optional, doctor ExecutionIntelligence for this shard)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theallureResultsrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexecutionIntelligencerecord component.final inthashCode()Returns a hash code value for this object.static ShardBlobResolves the conventional blob layout under a shard root directory.root()Returns the value of therootrecord component.final StringtoString()Returns a string representation of this record class.traces()Returns the value of thetracesrecord component.
-
Constructor Details
-
ShardBlob
Creates an instance of aShardBlobrecord class.- Parameters:
root- the value for therootrecord componentallureResults- the value for theallureResultsrecord componenttraces- the value for thetracesrecord componentexecutionIntelligence- the value for theexecutionIntelligencerecord component
-
-
Method Details
-
of
-
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). -
root
-
allureResults
Returns the value of theallureResultsrecord component.- Returns:
- the value of the
allureResultsrecord component
-
traces
-
executionIntelligence
Returns the value of theexecutionIntelligencerecord component.- Returns:
- the value of the
executionIntelligencerecord component
-