Record Class RemoteProfilesProvider.HttpProfile
java.lang.Object
java.lang.Record
pro.gravit.launchserver.auth.profiles.RemoteProfilesProvider.HttpProfile
- All Implemented Interfaces:
ProfilesProvider.CompletedProfile, ProfilesProvider.UncompletedProfile
- Enclosing class:
RemoteProfilesProvider
public static record RemoteProfilesProvider.HttpProfile(pro.gravit.launcher.base.profiles.ClientProfile profile, pro.gravit.launcher.core.hasher.HashedDir client, pro.gravit.launcher.core.hasher.HashedDir assets)
extends Record
implements ProfilesProvider.CompletedProfile
-
Constructor Summary
ConstructorsConstructorDescriptionHttpProfile(pro.gravit.launcher.base.profiles.ClientProfile profile, pro.gravit.launcher.core.hasher.HashedDir client, pro.gravit.launcher.core.hasher.HashedDir assets) Creates an instance of aHttpProfilerecord class. -
Method Summary
Modifier and TypeMethodDescriptionpro.gravit.launcher.core.hasher.HashedDirassets()Returns the value of theassetsrecord component.pro.gravit.launcher.core.hasher.HashedDirclient()Returns the value of theclientrecord component.final booleanIndicates whether some other object is "equal to" this one.pro.gravit.launcher.core.hasher.HashedDirpro.gravit.launcher.core.hasher.HashedDirgetName()pro.gravit.launcher.base.profiles.ClientProfilegetTag()getUuid()final inthashCode()Returns a hash code value for this object.pro.gravit.launcher.base.profiles.ClientProfileprofile()Returns the value of theprofilerecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HttpProfile
public HttpProfile(pro.gravit.launcher.base.profiles.ClientProfile profile, pro.gravit.launcher.core.hasher.HashedDir client, pro.gravit.launcher.core.hasher.HashedDir assets) Creates an instance of aHttpProfilerecord class.- Parameters:
profile- the value for theprofilerecord componentclient- the value for theclientrecord componentassets- the value for theassetsrecord component
-
-
Method Details
-
getTag
- Specified by:
getTagin interfaceProfilesProvider.CompletedProfile
-
getProfile
public pro.gravit.launcher.base.profiles.ClientProfile getProfile()- Specified by:
getProfilein interfaceProfilesProvider.CompletedProfile
-
getClientDir
public pro.gravit.launcher.core.hasher.HashedDir getClientDir()- Specified by:
getClientDirin interfaceProfilesProvider.CompletedProfile
-
getAssetDir
public pro.gravit.launcher.core.hasher.HashedDir getAssetDir()- Specified by:
getAssetDirin interfaceProfilesProvider.CompletedProfile
-
getUuid
- Specified by:
getUuidin interfaceProfilesProvider.UncompletedProfile
-
getName
- Specified by:
getNamein interfaceProfilesProvider.UncompletedProfile
-
getDescription
- Specified by:
getDescriptionin interfaceProfilesProvider.UncompletedProfile
-
getDefaultTag
- Specified by:
getDefaultTagin interfaceProfilesProvider.UncompletedProfile
-
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). -
profile
public pro.gravit.launcher.base.profiles.ClientProfile profile()Returns the value of theprofilerecord component.- Returns:
- the value of the
profilerecord component
-
client
public pro.gravit.launcher.core.hasher.HashedDir client()Returns the value of theclientrecord component.- Returns:
- the value of the
clientrecord component
-
assets
public pro.gravit.launcher.core.hasher.HashedDir assets()Returns the value of theassetsrecord component.- Returns:
- the value of the
assetsrecord component
-