Record Class NodeFilterConfig
java.lang.Object
java.lang.Record
org.alfresco.hxi_connector.bulk_ingester.repository.filter.NodeFilterConfig
@Validated
@ConfigurationProperties("alfresco.filter")
public record NodeFilterConfig(@NotNull NodeFilterConfig.Aspect aspect, @NotNull NodeFilterConfig.Type type)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionNodeFilterConfig(@NotNull NodeFilterConfig.Aspect aspect, @NotNull NodeFilterConfig.Type type) Creates an instance of aNodeFilterConfigrecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull NodeFilterConfig.Aspectaspect()Returns the value of theaspectrecord 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.@NotNull NodeFilterConfig.Typetype()Returns the value of thetyperecord component.
-
Constructor Details
-
NodeFilterConfig
public NodeFilterConfig(@NotNull @NotNull NodeFilterConfig.Aspect aspect, @NotNull @NotNull NodeFilterConfig.Type type) Creates an instance of aNodeFilterConfigrecord class.- Parameters:
aspect- the value for theaspectrecord componenttype- the value for thetyperecord 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). -
aspect
Returns the value of theaspectrecord component.- Returns:
- the value of the
aspectrecord component
-
type
Returns the value of thetyperecord component.- Returns:
- the value of the
typerecord component
-