Record Class TestMetricExtension.OriginalData

java.lang.Object
java.lang.Record
eu.rarogsoftware.rarog.platform.junit.extensions.TestMetricExtension.OriginalData
Enclosing class:
TestMetricExtension

static record TestMetricExtension.OriginalData(String serverId, String snapshotPeriod, String exportPeriod, String metricsEnabled, String telemetryEnabled) extends Record
  • Constructor Details

    • OriginalData

      OriginalData(String serverId, String snapshotPeriod, String exportPeriod, String metricsEnabled, String telemetryEnabled)
      Creates an instance of a OriginalData record class.
      Parameters:
      serverId - the value for the serverId record component
      snapshotPeriod - the value for the snapshotPeriod record component
      exportPeriod - the value for the exportPeriod record component
      metricsEnabled - the value for the metricsEnabled record component
      telemetryEnabled - the value for the telemetryEnabled record component
  • Method Details

    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • serverId

      public String serverId()
      Returns the value of the serverId record component.
      Returns:
      the value of the serverId record component
    • snapshotPeriod

      public String snapshotPeriod()
      Returns the value of the snapshotPeriod record component.
      Returns:
      the value of the snapshotPeriod record component
    • exportPeriod

      public String exportPeriod()
      Returns the value of the exportPeriod record component.
      Returns:
      the value of the exportPeriod record component
    • metricsEnabled

      public String metricsEnabled()
      Returns the value of the metricsEnabled record component.
      Returns:
      the value of the metricsEnabled record component
    • telemetryEnabled

      public String telemetryEnabled()
      Returns the value of the telemetryEnabled record component.
      Returns:
      the value of the telemetryEnabled record component