Record Class OutlierExplanationResolver.OutlierExplanationResult
java.lang.Object
java.lang.Record
com.evolveum.midpoint.common.outlier.OutlierExplanationResolver.OutlierExplanationResult
- Enclosing class:
- OutlierExplanationResolver
public static record OutlierExplanationResolver.OutlierExplanationResult(Long id, OutlierExplanationResolver.ExplanationResult explanation, OutlierExplanationResolver.ExplanationResult shortExplanation, List<OutlierExplanationResolver.AnomalyExplanationResult> anomalies)
extends Record
- 
Constructor SummaryConstructorsConstructorDescriptionOutlierExplanationResult(Long id, OutlierExplanationResolver.ExplanationResult explanation, OutlierExplanationResolver.ExplanationResult shortExplanation, List<OutlierExplanationResolver.AnomalyExplanationResult> anomalies) Creates an instance of aOutlierExplanationResultrecord class.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the value of theanomaliesrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexplanationrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.Returns the value of theshortExplanationrecord component.final StringtoString()Returns a string representation of this record class.
- 
Constructor Details- 
OutlierExplanationResultpublic OutlierExplanationResult(Long id, OutlierExplanationResolver.ExplanationResult explanation, OutlierExplanationResolver.ExplanationResult shortExplanation, List<OutlierExplanationResolver.AnomalyExplanationResult> anomalies) Creates an instance of aOutlierExplanationResultrecord class.- Parameters:
- id- the value for the- idrecord component
- explanation- the value for the- explanationrecord component
- shortExplanation- the value for the- shortExplanationrecord component
- anomalies- the value for the- anomaliesrecord 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
 
- 
explanationReturns the value of theexplanationrecord component.- Returns:
- the value of the explanationrecord component
 
- 
shortExplanationReturns the value of theshortExplanationrecord component.- Returns:
- the value of the shortExplanationrecord component
 
- 
anomaliesReturns the value of theanomaliesrecord component.- Returns:
- the value of the anomaliesrecord component
 
 
-