Record Class TestMetricExtension.OriginalData
java.lang.Object
java.lang.Record
eu.rarogsoftware.rarog.platform.junit.extensions.TestMetricExtension.OriginalData
- Enclosing class:
- TestMetricExtension
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.Returns the value of theexportPeriod
record component.final int
hashCode()
Returns a hash code value for this object.Returns the value of themetricsEnabled
record component.serverId()
Returns the value of theserverId
record component.Returns the value of thesnapshotPeriod
record component.Returns the value of thetelemetryEnabled
record component.final String
toString()
Returns a string representation of this record class.
-
Constructor Details
-
OriginalData
OriginalData(String serverId, String snapshotPeriod, String exportPeriod, String metricsEnabled, String telemetryEnabled) Creates an instance of aOriginalData
record class.- Parameters:
serverId
- the value for theserverId
record componentsnapshotPeriod
- the value for thesnapshotPeriod
record componentexportPeriod
- the value for theexportPeriod
record componentmetricsEnabled
- the value for themetricsEnabled
record componenttelemetryEnabled
- the value for thetelemetryEnabled
record 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)
. -
serverId
Returns the value of theserverId
record component.- Returns:
- the value of the
serverId
record component
-
snapshotPeriod
Returns the value of thesnapshotPeriod
record component.- Returns:
- the value of the
snapshotPeriod
record component
-
exportPeriod
Returns the value of theexportPeriod
record component.- Returns:
- the value of the
exportPeriod
record component
-
metricsEnabled
Returns the value of themetricsEnabled
record component.- Returns:
- the value of the
metricsEnabled
record component
-
telemetryEnabled
Returns the value of thetelemetryEnabled
record component.- Returns:
- the value of the
telemetryEnabled
record component
-