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 Summary
ConstructorsConstructorDescriptionOutlierExplanationResult(Long id, OutlierExplanationResolver.ExplanationResult explanation, OutlierExplanationResolver.ExplanationResult shortExplanation, List<OutlierExplanationResolver.AnomalyExplanationResult> anomalies) Creates an instance of aOutlierExplanationResultrecord class. -
Method Summary
Modifier 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
-
OutlierExplanationResult
public OutlierExplanationResult(Long id, OutlierExplanationResolver.ExplanationResult explanation, OutlierExplanationResolver.ExplanationResult shortExplanation, List<OutlierExplanationResolver.AnomalyExplanationResult> anomalies) Creates an instance of aOutlierExplanationResultrecord class.- Parameters:
id- the value for theidrecord componentexplanation- the value for theexplanationrecord componentshortExplanation- the value for theshortExplanationrecord componentanomalies- the value for theanomaliesrecord 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
-
explanation
Returns the value of theexplanationrecord component.- Returns:
- the value of the
explanationrecord component
-
shortExplanation
Returns the value of theshortExplanationrecord component.- Returns:
- the value of the
shortExplanationrecord component
-
anomalies
Returns the value of theanomaliesrecord component.- Returns:
- the value of the
anomaliesrecord component
-