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 SummaryConstructorsConstructorDescriptionAnomalyExplanationInput(Long id, OutlierExplanationResolver.RoleStats roleOverallStats, OutlierExplanationResolver.RoleStats roleClusterStats, List<OutlierExplanationResolver.ExplanationAttribute> unusualAttributes) Creates an instance of aAnomalyExplanationInputrecord class.
- 
Method SummaryModifier 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- 
AnomalyExplanationInputpublic AnomalyExplanationInput(Long id, OutlierExplanationResolver.RoleStats roleOverallStats, OutlierExplanationResolver.RoleStats roleClusterStats, List<OutlierExplanationResolver.ExplanationAttribute> unusualAttributes) Creates an instance of aAnomalyExplanationInputrecord class.- Parameters:
- id- the value for the- idrecord component
- roleOverallStats- the value for the- roleOverallStatsrecord component
- roleClusterStats- the value for the- roleClusterStatsrecord component
- unusualAttributes- the value for the- unusualAttributesrecord component
 
 
- 
- 
Method Details- 
toStringReturns 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.
- 
hashCodepublic 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.
- 
equalsIndicates 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).
- 
idReturns the value of theidrecord component.- Returns:
- the value of the idrecord component
 
- 
roleOverallStatsReturns the value of theroleOverallStatsrecord component.- Returns:
- the value of the roleOverallStatsrecord component
 
- 
roleClusterStatsReturns the value of theroleClusterStatsrecord component.- Returns:
- the value of the roleClusterStatsrecord component
 
- 
unusualAttributesReturns the value of theunusualAttributesrecord component.- Returns:
- the value of the unusualAttributesrecord component
 
 
-