Package fr.becpg.repo.audit.service.impl
Record Class DatabaseAuditServiceImpl.ScanResult
java.lang.Object
java.lang.Record
fr.becpg.repo.audit.service.impl.DatabaseAuditServiceImpl.ScanResult
- Enclosing class:
DatabaseAuditServiceImpl
private static record DatabaseAuditServiceImpl.ScanResult(List<org.alfresco.rest.api.model.AuditEntry> collected, DatabaseAuditServiceImpl.IdRange remaining)
extends Record
What a scan gathered, and the identifiers it has not read yet.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<org.alfresco.rest.api.model.AuditEntry> The field for thecollectedrecord component.private final DatabaseAuditServiceImpl.IdRangeThe field for theremainingrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateScanResult(List<org.alfresco.rest.api.model.AuditEntry> collected, DatabaseAuditServiceImpl.IdRange remaining) Creates an instance of aScanResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionList<org.alfresco.rest.api.model.AuditEntry> Returns the value of thecollectedrecord 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 theremainingrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
collected
The field for thecollectedrecord component. -
remaining
The field for theremainingrecord component.
-
-
Constructor Details
-
ScanResult
private ScanResult(List<org.alfresco.rest.api.model.AuditEntry> collected, DatabaseAuditServiceImpl.IdRange remaining) Creates an instance of aScanResultrecord class.- Parameters:
collected- the value for thecollectedrecord componentremaining- the value for theremainingrecord component
-
-
Method Details
-
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. -
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. -
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). -
collected
Returns the value of thecollectedrecord component.- Returns:
- the value of the
collectedrecord component
-
remaining
Returns the value of theremainingrecord component.- Returns:
- the value of the
remainingrecord component
-