Record Class RequestFeatureHttpAPIImpl.HttpUpdateInfo
java.lang.Object
java.lang.Record
pro.gravit.launcher.base.request.RequestFeatureHttpAPIImpl.HttpUpdateInfo
- All Implemented Interfaces:
pro.gravit.launcher.core.api.features.ProfileFeatureAPI.UpdateInfo
- Enclosing class:
RequestFeatureHttpAPIImpl
-
Constructor Summary
ConstructorsConstructorDescriptionHttpUpdateInfo(pro.gravit.launcher.core.hasher.HashedDir dir, String baseUrl) Creates an instance of aHttpUpdateInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionbaseUrl()Returns the value of thebaseUrlrecord component.pro.gravit.launcher.core.hasher.HashedDirdir()Returns the value of thedirrecord component.final booleanIndicates whether some other object is "equal to" this one.pro.gravit.launcher.core.hasher.HashedDirgetUrl()final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HttpUpdateInfo
Creates an instance of aHttpUpdateInforecord class.- Parameters:
dir- the value for thedirrecord componentbaseUrl- the value for thebaseUrlrecord component
-
-
Method Details
-
getHashedDir
public pro.gravit.launcher.core.hasher.HashedDir getHashedDir()- Specified by:
getHashedDirin interfacepro.gravit.launcher.core.api.features.ProfileFeatureAPI.UpdateInfo
-
getUrl
- Specified by:
getUrlin interfacepro.gravit.launcher.core.api.features.ProfileFeatureAPI.UpdateInfo
-
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). -
dir
public pro.gravit.launcher.core.hasher.HashedDir dir()Returns the value of thedirrecord component.- Returns:
- the value of the
dirrecord component
-
baseUrl
Returns the value of thebaseUrlrecord component.- Returns:
- the value of the
baseUrlrecord component
-