Record Class TelemetryKey.SizeTimeAndTypeErrorKeys
java.lang.Object
java.lang.Record
org.sonar.java.telemetry.TelemetryKey.SizeTimeAndTypeErrorKeys
- All Implemented Interfaces:
TelemetryKey.SpeedKeys
- Enclosing class:
TelemetryKey
public static record TelemetryKey.SizeTimeAndTypeErrorKeys(TelemetryKey sizeCharsKey, TelemetryKey timeMsKey, TelemetryKey typeErrorCountKey)
extends Record
implements TelemetryKey.SpeedKeys
-
Constructor Summary
ConstructorsConstructorDescriptionSizeTimeAndTypeErrorKeys(TelemetryKey sizeCharsKey, TelemetryKey timeMsKey, TelemetryKey typeErrorCountKey) Creates an instance of aSizeTimeAndTypeErrorKeysrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thesizeCharsKeyrecord component.Returns the value of thetimeMsKeyrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetypeErrorCountKeyrecord component.
-
Constructor Details
-
SizeTimeAndTypeErrorKeys
public SizeTimeAndTypeErrorKeys(TelemetryKey sizeCharsKey, TelemetryKey timeMsKey, TelemetryKey typeErrorCountKey) Creates an instance of aSizeTimeAndTypeErrorKeysrecord class.- Parameters:
sizeCharsKey- the value for thesizeCharsKeyrecord componenttimeMsKey- the value for thetimeMsKeyrecord componenttypeErrorCountKey- the value for thetypeErrorCountKeyrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
sizeCharsKey
Returns the value of thesizeCharsKeyrecord component.- Specified by:
sizeCharsKeyin interfaceTelemetryKey.SpeedKeys- Returns:
- the value of the
sizeCharsKeyrecord component
-
timeMsKey
Returns the value of thetimeMsKeyrecord component.- Specified by:
timeMsKeyin interfaceTelemetryKey.SpeedKeys- Returns:
- the value of the
timeMsKeyrecord component
-
typeErrorCountKey
Returns the value of thetypeErrorCountKeyrecord component.- Returns:
- the value of the
typeErrorCountKeyrecord component
-