Record Class Filter
java.lang.Object
java.lang.Record
org.alfresco.hxi_connector.live_ingester.adapters.config.properties.Filter
public record Filter(@NotNull Filter.Aspect aspect, @NotNull Filter.Type type, @NotNull Filter.Path path)
extends Record
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic final recordstatic final record -
Constructor Summary
ConstructorsConstructorDescriptionFilter(@NotNull Filter.Aspect aspect, @NotNull Filter.Type type, @NotNull Filter.Path path) Creates an instance of aFilterrecord class. -
Method Summary
Modifier and TypeMethodDescription@NotNull Filter.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.@NotNull Filter.Pathpath()Returns the value of thepathrecord component.final StringtoString()Returns a string representation of this record class.@NotNull Filter.Typetype()Returns the value of thetyperecord component.
-
Constructor Details
-
Filter
public Filter(@NotNull @NotNull Filter.Aspect aspect, @NotNull @NotNull Filter.Type type, @NotNull @NotNull Filter.Path path) Creates an instance of aFilterrecord class.- Parameters:
aspect- the value for theaspectrecord componenttype- the value for thetyperecord componentpath- the value for thepathrecord 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
-
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-