Record Class EvidenceProvenance
java.lang.Object
java.lang.Record
com.shaft.doctor.model.EvidenceProvenance
- Record Components:
adapter- stable collector adapter namesourceReference- sanitized path or source labeloriginalSha256- checksum of approved source bytes after redaction and before bundle formatting
-
Constructor Summary
ConstructorsConstructorDescriptionEvidenceProvenance(String adapter, String sourceReference, String originalSha256) Creates validated provenance. -
Method Summary
Modifier and TypeMethodDescriptionadapter()Returns the value of theadapterrecord 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 theoriginalSha256record component.Returns the value of thesourceReferencerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
EvidenceProvenance
-
-
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). -
adapter
-
sourceReference
Returns the value of thesourceReferencerecord component.- Returns:
- the value of the
sourceReferencerecord component
-
originalSha256
Returns the value of theoriginalSha256record component.- Returns:
- the value of the
originalSha256record component
-