Record Class BulkIngesterConfig
java.lang.Object
java.lang.Record
org.alfresco.hxi_connector.bulk_ingester.processor.BulkIngesterConfig
@Validated
@ConfigurationProperties("alfresco.bulk.ingest.node-params")
public record BulkIngesterConfig(@jakarta.validation.constraints.PositiveOrZero long fromId, @jakarta.validation.constraints.Positive long toId)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionBulkIngesterConfig(@jakarta.validation.constraints.PositiveOrZero long fromId, @jakarta.validation.constraints.Positive long toId) Creates an instance of aBulkIngesterConfigrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.@jakarta.validation.constraints.PositiveOrZero longfromId()Returns the value of thefromIdrecord component.final inthashCode()Returns a hash code value for this object.@jakarta.validation.constraints.Positive longtoId()Returns the value of thetoIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
BulkIngesterConfig
public BulkIngesterConfig(@PositiveOrZero @jakarta.validation.constraints.PositiveOrZero long fromId, @Positive @jakarta.validation.constraints.Positive long toId) Creates an instance of aBulkIngesterConfigrecord class.- Parameters:
fromId- the value for thefromIdrecord componenttoId- the value for thetoIdrecord 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 with '=='. -
fromId
@PositiveOrZero public @jakarta.validation.constraints.PositiveOrZero long fromId()Returns the value of thefromIdrecord component.- Returns:
- the value of the
fromIdrecord component
-
toId
@Positive public @jakarta.validation.constraints.Positive long toId()Returns the value of thetoIdrecord component.- Returns:
- the value of the
toIdrecord component
-