Package org.alfresco.rm.rest.api.model
Record Class HoldBulkStatusEntry
java.lang.Object
java.lang.Record
org.alfresco.rm.rest.api.model.HoldBulkStatusEntry
-
Constructor Summary
ConstructorsConstructorDescriptionHoldBulkStatusEntry(String bulkStatusId, Date startTime, Date endTime, long processedItems, long errorsCount, long totalItems, String lastError, String status, String cancellationReason, HoldBulkOperation holdBulkOperation) Creates an instance of aHoldBulkStatusEntryrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebulkStatusIdrecord component.Returns the value of thecancellationReasonrecord component.endTime()Returns the value of theendTimerecord component.final booleanIndicates whether some other object is "equal to" this one.longReturns the value of theerrorsCountrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theholdBulkOperationrecord component.Returns the value of thelastErrorrecord component.longReturns the value of theprocessedItemsrecord component.Returns the value of thestartTimerecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of thetotalItemsrecord component.
-
Constructor Details
-
HoldBulkStatusEntry
public HoldBulkStatusEntry(String bulkStatusId, Date startTime, Date endTime, long processedItems, long errorsCount, long totalItems, String lastError, String status, String cancellationReason, HoldBulkOperation holdBulkOperation) Creates an instance of aHoldBulkStatusEntryrecord class.- Parameters:
bulkStatusId- the value for thebulkStatusIdrecord componentstartTime- the value for thestartTimerecord componentendTime- the value for theendTimerecord componentprocessedItems- the value for theprocessedItemsrecord componenterrorsCount- the value for theerrorsCountrecord componenttotalItems- the value for thetotalItemsrecord componentlastError- the value for thelastErrorrecord componentstatus- the value for thestatusrecord componentcancellationReason- the value for thecancellationReasonrecord componentholdBulkOperation- the value for theholdBulkOperationrecord 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
bulkStatusId
Returns the value of thebulkStatusIdrecord component.- Returns:
- the value of the
bulkStatusIdrecord component
-
startTime
Returns the value of thestartTimerecord component.- Returns:
- the value of the
startTimerecord component
-
endTime
Returns the value of theendTimerecord component.- Returns:
- the value of the
endTimerecord component
-
processedItems
public long processedItems()Returns the value of theprocessedItemsrecord component.- Returns:
- the value of the
processedItemsrecord component
-
errorsCount
public long errorsCount()Returns the value of theerrorsCountrecord component.- Returns:
- the value of the
errorsCountrecord component
-
totalItems
public long totalItems()Returns the value of thetotalItemsrecord component.- Returns:
- the value of the
totalItemsrecord component
-
lastError
Returns the value of thelastErrorrecord component.- Returns:
- the value of the
lastErrorrecord component
-
status
Returns the value of thestatusrecord component.- Returns:
- the value of the
statusrecord component
-
cancellationReason
Returns the value of thecancellationReasonrecord component.- Returns:
- the value of the
cancellationReasonrecord component
-
holdBulkOperation
Returns the value of theholdBulkOperationrecord component.- Returns:
- the value of the
holdBulkOperationrecord component
-