Record Class FocusStats
java.lang.Object
java.lang.Record
com.evolveum.midpoint.ninja.action.stats.FocusStats
- All Implemented Interfaces:
PrismTransformableRecord
public record FocusStats(Collection<FocusTypeStats> focusTypesStats)
extends Record
implements PrismTransformableRecord
-
Constructor Summary
ConstructorsConstructorDescriptionFocusStats(Collection<FocusTypeStats> focusTypesStats) Creates an instance of aFocusStatsrecord class. -
Method Summary
Modifier and TypeMethodDescriptionasPrismContainerValue(ItemFactory itemFactory) final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefocusTypesStatsrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
FocusStats
Creates an instance of aFocusStatsrecord class.- Parameters:
focusTypesStats- the value for thefocusTypesStatsrecord component
-
-
Method Details
-
asPrismContainerValue
public PrismContainerValue<Containerable> asPrismContainerValue(ItemFactory itemFactory) throws SchemaException - Specified by:
asPrismContainerValuein interfacePrismTransformableRecord- Throws:
SchemaException
-
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). -
focusTypesStats
Returns the value of thefocusTypesStatsrecord component.- Returns:
- the value of the
focusTypesStatsrecord component
-