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 booleanIndicates whether some other object is "equal to" this one.Returns the value of theexportPeriodrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of themetricsEnabledrecord component.serverId()Returns the value of theserverIdrecord component.Returns the value of thesnapshotPeriodrecord component.Returns the value of thetelemetryEnabledrecord component.final StringtoString()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 aOriginalDatarecord class.- Parameters:
serverId- the value for theserverIdrecord componentsnapshotPeriod- the value for thesnapshotPeriodrecord componentexportPeriod- the value for theexportPeriodrecord componentmetricsEnabled- the value for themetricsEnabledrecord componenttelemetryEnabled- the value for thetelemetryEnabledrecord 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 theserverIdrecord component.- Returns:
- the value of the
serverIdrecord component
-
snapshotPeriod
Returns the value of thesnapshotPeriodrecord component.- Returns:
- the value of the
snapshotPeriodrecord component
-
exportPeriod
Returns the value of theexportPeriodrecord component.- Returns:
- the value of the
exportPeriodrecord component
-
metricsEnabled
Returns the value of themetricsEnabledrecord component.- Returns:
- the value of the
metricsEnabledrecord component
-
telemetryEnabled
Returns the value of thetelemetryEnabledrecord component.- Returns:
- the value of the
telemetryEnabledrecord component
-