Record Class TelemetryKey.JavaAnalysisKeys
java.lang.Object
java.lang.Record
org.sonar.java.telemetry.TelemetryKey.JavaAnalysisKeys
- Enclosing class:
TelemetryKey
public static record TelemetryKey.JavaAnalysisKeys(TelemetryKey.SizeTimeAndTypeErrorKeys success, TelemetryKey.SpeedKeys parseErrors, TelemetryKey.SpeedKeys exceptions)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionJavaAnalysisKeys
(TelemetryKey.SizeTimeAndTypeErrorKeys success, TelemetryKey.SpeedKeys parseErrors, TelemetryKey.SpeedKeys exceptions) Creates an instance of aJavaAnalysisKeys
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.Returns the value of theexceptions
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of theparseErrors
record component.success()
Returns the value of thesuccess
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
JavaAnalysisKeys
public JavaAnalysisKeys(TelemetryKey.SizeTimeAndTypeErrorKeys success, TelemetryKey.SpeedKeys parseErrors, TelemetryKey.SpeedKeys exceptions) Creates an instance of aJavaAnalysisKeys
record class.- Parameters:
success
- the value for thesuccess
record componentparseErrors
- the value for theparseErrors
record componentexceptions
- the value for theexceptions
record 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)
. -
success
Returns the value of thesuccess
record component.- Returns:
- the value of the
success
record component
-
parseErrors
Returns the value of theparseErrors
record component.- Returns:
- the value of the
parseErrors
record component
-
exceptions
Returns the value of theexceptions
record component.- Returns:
- the value of the
exceptions
record component
-