Record Class ModuleFileTransactions.Stored
java.lang.Object
java.lang.Record
com.ultikits.ultitools.utils.ModuleFileTransactions.Stored
- Enclosing class:
ModuleFileTransactions
private static record ModuleFileTransactions.Stored(ModuleFileTransactions.Record record, String revision)
extends Record
- Since:
- 6.3.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ModuleFileTransactions.RecordThe field for therecordrecord component.private final StringThe field for therevisionrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateStored(ModuleFileTransactions.Record record, String revision) Creates an instance of aStoredrecord 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.record()Returns the value of therecordrecord component.revision()Returns the value of therevisionrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
record
The field for therecordrecord component. -
revision
The field for therevisionrecord component.
-
-
Constructor Details
-
Stored
Creates an instance of aStoredrecord class.- Parameters:
record- the value for therecordrecord componentrevision- the value for therevisionrecord 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). -
record
Returns the value of therecordrecord component.- Returns:
- the value of the
recordrecord component
-
revision
Returns the value of therevisionrecord component.- Returns:
- the value of the
revisionrecord component
-