Record Class ProposedLayout.SiblingGroup
java.lang.Object
java.lang.Record
org.odpi.openmetadata.adapters.connectors.surveyaction.surveyfolder.layout.ProposedLayout.SiblingGroup
- Record Components:
pathPattern- path pattern that all the directories matchmemberCount- number of directories in the groupmatchingCount- number of them that share the most common structureoutliers- paths of the directories that do not share it, relative to the surveyed directory
- Enclosing class:
ProposedLayout
public static record ProposedLayout.SiblingGroup(String pathPattern, int memberCount, int matchingCount, List<String> outliers)
extends Record
SiblingGroup describes a set of directories that sit in the same place in the tree and so are expected
to look the same.
-
Constructor Summary
ConstructorsConstructorDescriptionSiblingGroup(String pathPattern, int memberCount, int matchingCount, List<String> outliers) Creates an instance of aSiblingGrouprecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.intReturns the value of thematchingCountrecord component.intReturns the value of thememberCountrecord component.outliers()Returns the value of theoutliersrecord component.Returns the value of thepathPatternrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
SiblingGroup
Creates an instance of aSiblingGrouprecord class.- Parameters:
pathPattern- the value for thepathPatternrecord componentmemberCount- the value for thememberCountrecord componentmatchingCount- the value for thematchingCountrecord componentoutliers- the value for theoutliersrecord 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 '=='. -
pathPattern
Returns the value of thepathPatternrecord component.- Returns:
- the value of the
pathPatternrecord component
-
memberCount
public int memberCount()Returns the value of thememberCountrecord component.- Returns:
- the value of the
memberCountrecord component
-
matchingCount
public int matchingCount()Returns the value of thematchingCountrecord component.- Returns:
- the value of the
matchingCountrecord component
-
outliers
Returns the value of theoutliersrecord component.- Returns:
- the value of the
outliersrecord component
-