Record Class AuditChainVerificationResult
java.lang.Object
java.lang.Record
org.j7m.middleware.security.defaults.AuditChainVerificationResult
- Record Components:
valid- whether the chain is validverifiedRecords- number of verified recordsreason- safe reason
-
Constructor Summary
ConstructorsConstructorDescriptionAuditChainVerificationResult(boolean valid, long verifiedRecords, String reason) Creates normalized values. -
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.reason()Returns the value of thereasonrecord component.final StringtoString()Returns a string representation of this record class.booleanvalid()Returns the value of thevalidrecord component.longReturns the value of theverifiedRecordsrecord component.
-
Constructor Details
-
AuditChainVerificationResult
Creates normalized values.
-
-
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. -
valid
-
verifiedRecords
public long verifiedRecords()Returns the value of theverifiedRecordsrecord component.- Returns:
- the value of the
verifiedRecordsrecord component
-
reason
-