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
ConstructorDescriptionAnomalyExplanationInput
(Long id, OutlierExplanationResolver.RoleStats roleOverallStats, OutlierExplanationResolver.RoleStats roleClusterStats, List<OutlierExplanationResolver.ExplanationAttribute> unusualAttributes) Creates an instance of aAnomalyExplanationInput
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.id()
Returns the value of theid
record component.Returns the value of theroleClusterStats
record component.Returns the value of theroleOverallStats
record component.final String
toString()
Returns a string representation of this record class.Returns the value of theunusualAttributes
record component.
-
Constructor Details
-
AnomalyExplanationInput
public AnomalyExplanationInput(Long id, OutlierExplanationResolver.RoleStats roleOverallStats, OutlierExplanationResolver.RoleStats roleClusterStats, List<OutlierExplanationResolver.ExplanationAttribute> unusualAttributes) Creates an instance of aAnomalyExplanationInput
record class.- Parameters:
id
- the value for theid
record componentroleOverallStats
- the value for theroleOverallStats
record componentroleClusterStats
- the value for theroleClusterStats
record componentunusualAttributes
- the value for theunusualAttributes
record 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 theid
record component.- Returns:
- the value of the
id
record component
-
roleOverallStats
Returns the value of theroleOverallStats
record component.- Returns:
- the value of the
roleOverallStats
record component
-
roleClusterStats
Returns the value of theroleClusterStats
record component.- Returns:
- the value of the
roleClusterStats
record component
-
unusualAttributes
Returns the value of theunusualAttributes
record component.- Returns:
- the value of the
unusualAttributes
record component
-