Record Class AnalysisCacheResult
java.lang.Object
java.lang.Record
dev.archunitjava.importer.AnalysisCacheResult
Opaque deterministic model bytes and whether they came from a validated cache entry.
-
Constructor Summary
ConstructorsConstructorDescriptionAnalysisCacheResult(byte[] payload, AnalysisCacheStatus status) Creates an instance of aAnalysisCacheResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.byte[]payload()Returns the value of thepayloadrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
AnalysisCacheResult
Creates an instance of aAnalysisCacheResultrecord class.- Parameters:
payload- the value for thepayloadrecord componentstatus- the value for thestatusrecord component
-
-
Method Details
-
payload
public byte[] payload()Returns the value of thepayloadrecord component.- Returns:
- the value of the
payloadrecord component
-
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). -
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-