Package org.graylog2.migrations
Record Class V20230904073300_MigrateThemePreferences.MigrationCompleted
java.lang.Object
java.lang.Record
org.graylog2.migrations.V20230904073300_MigrateThemePreferences.MigrationCompleted
- Enclosing class:
- V20230904073300_MigrateThemePreferences
public static record V20230904073300_MigrateThemePreferences.MigrationCompleted(long matched, long modified)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionMigrationCompleted(long matched, long modified) Creates an instance of aMigrationCompletedrecord 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.longmatched()Returns the value of thematchedrecord component.longmodified()Returns the value of themodifiedrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
MigrationCompleted
public MigrationCompleted(long matched, long modified) Creates an instance of aMigrationCompletedrecord class.- Parameters:
matched- the value for thematchedrecord componentmodified- the value for themodifiedrecord 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 with '=='. -
matched
public long matched()Returns the value of thematchedrecord component.- Returns:
- the value of the
matchedrecord component
-
modified
public long modified()Returns the value of themodifiedrecord component.- Returns:
- the value of the
modifiedrecord component
-