Record Class HoldBulkProcessDetails
java.lang.Object
java.lang.Record
org.alfresco.module.org_alfresco_module_rm.bulk.hold.HoldBulkProcessDetails
- All Implemented Interfaces:
Serializable
public record HoldBulkProcessDetails(String bulkStatusId, String creatorInstance, BulkOperation bulkOperation)
extends Record
implements Serializable
A simple immutable POJO to hold the details of a bulk process
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionHoldBulkProcessDetails(String bulkStatusId, String creatorInstance, BulkOperation bulkOperation) Creates an instance of aHoldBulkProcessDetailsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thebulkOperationrecord component.Returns the value of thebulkStatusIdrecord component.Returns the value of thecreatorInstancerecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HoldBulkProcessDetails
public HoldBulkProcessDetails(String bulkStatusId, String creatorInstance, BulkOperation bulkOperation) Creates an instance of aHoldBulkProcessDetailsrecord class.- Parameters:
bulkStatusId- the value for thebulkStatusIdrecord componentcreatorInstance- the value for thecreatorInstancerecord componentbulkOperation- the value for thebulkOperationrecord 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). -
bulkStatusId
Returns the value of thebulkStatusIdrecord component.- Returns:
- the value of the
bulkStatusIdrecord component
-
creatorInstance
Returns the value of thecreatorInstancerecord component.- Returns:
- the value of the
creatorInstancerecord component
-
bulkOperation
Returns the value of thebulkOperationrecord component.- Returns:
- the value of the
bulkOperationrecord component
-