Record Class OutlierExplanationResolver.OutlierExplanationInput
java.lang.Object
java.lang.Record
com.evolveum.midpoint.common.outlier.OutlierExplanationResolver.OutlierExplanationInput
- Enclosing class:
- OutlierExplanationResolver
public static record OutlierExplanationResolver.OutlierExplanationInput(Long id, @NotNull List<OutlierExplanationResolver.AnomalyExplanationInput> anomalies, @NotNull List<OutlierExplanationResolver.ExplanationAttribute> groupByAttributes, @NotNull Double outlierScore)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionOutlierExplanationInput(Long id, @NotNull List<OutlierExplanationResolver.AnomalyExplanationInput> anomalies, @NotNull List<OutlierExplanationResolver.ExplanationAttribute> groupByAttributes, @NotNull Double outlierScore) Creates an instance of aOutlierExplanationInputrecord 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 thegroupByAttributesrecord component.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.@NotNull DoubleReturns the value of theoutlierScorerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
OutlierExplanationInput
public OutlierExplanationInput(Long id, @NotNull @NotNull List<OutlierExplanationResolver.AnomalyExplanationInput> anomalies, @NotNull @NotNull List<OutlierExplanationResolver.ExplanationAttribute> groupByAttributes, @NotNull @NotNull Double outlierScore) Creates an instance of aOutlierExplanationInputrecord class.- Parameters:
id- the value for theidrecord componentanomalies- the value for theanomaliesrecord componentgroupByAttributes- the value for thegroupByAttributesrecord componentoutlierScore- the value for theoutlierScorerecord 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
-
anomalies
Returns the value of theanomaliesrecord component.- Returns:
- the value of the
anomaliesrecord component
-
groupByAttributes
Returns the value of thegroupByAttributesrecord component.- Returns:
- the value of the
groupByAttributesrecord component
-
outlierScore
Returns the value of theoutlierScorerecord component.- Returns:
- the value of the
outlierScorerecord component
-