Record Class OutlierExplanationResolver.AnomalyExplanationInput
java.lang.Object
java.lang.Record
com.evolveum.midpoint.common.outlier.OutlierExplanationResolver.AnomalyExplanationInput
- Enclosing class:
- OutlierExplanationResolver
public static record OutlierExplanationResolver.AnomalyExplanationInput(Long id, OutlierExplanationResolver.RoleStats roleOverallStats, OutlierExplanationResolver.RoleStats roleClusterStats, List<OutlierExplanationResolver.ExplanationAttribute> unusualAttributes)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionAnomalyExplanationInput(Long id, OutlierExplanationResolver.RoleStats roleOverallStats, OutlierExplanationResolver.RoleStats roleClusterStats, List<OutlierExplanationResolver.ExplanationAttribute> unusualAttributes) Creates an instance of aAnomalyExplanationInputrecord 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.id()Returns the value of theidrecord component.Returns the value of theroleClusterStatsrecord component.Returns the value of theroleOverallStatsrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theunusualAttributesrecord component.
-
Constructor Details
-
AnomalyExplanationInput
public AnomalyExplanationInput(Long id, OutlierExplanationResolver.RoleStats roleOverallStats, OutlierExplanationResolver.RoleStats roleClusterStats, List<OutlierExplanationResolver.ExplanationAttribute> unusualAttributes) Creates an instance of aAnomalyExplanationInputrecord class.- Parameters:
id- the value for theidrecord componentroleOverallStats- the value for theroleOverallStatsrecord componentroleClusterStats- the value for theroleClusterStatsrecord componentunusualAttributes- the value for theunusualAttributesrecord 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). -
id
Returns the value of theidrecord component.- Returns:
- the value of the
idrecord component
-
roleOverallStats
Returns the value of theroleOverallStatsrecord component.- Returns:
- the value of the
roleOverallStatsrecord component
-
roleClusterStats
Returns the value of theroleClusterStatsrecord component.- Returns:
- the value of the
roleClusterStatsrecord component
-
unusualAttributes
Returns the value of theunusualAttributesrecord component.- Returns:
- the value of the
unusualAttributesrecord component
-