Record Class UpdatesProvider.UpdateNameAndFile
java.lang.Object
java.lang.Record
pro.gravit.launchserver.auth.updates.UpdatesProvider.UpdateNameAndFile
- Enclosing class:
UpdatesProvider
-
Constructor Summary
ConstructorsConstructorDescriptionUpdateNameAndFile(String updateName, String path) Creates an instance of aUpdateNameAndFilerecord 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.path()Returns the value of thepathrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of theupdateNamerecord component.
-
Constructor Details
-
UpdateNameAndFile
-
-
Method Details
-
of
-
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). -
updateName
Returns the value of theupdateNamerecord component.- Returns:
- the value of the
updateNamerecord component
-
path
Returns the value of thepathrecord component.- Returns:
- the value of the
pathrecord component
-