Record Class RemoteProfilesProvider.HttpUncompletedProfile
java.lang.Object
java.lang.Record
pro.gravit.launchserver.auth.profiles.RemoteProfilesProvider.HttpUncompletedProfile
- All Implemented Interfaces:
ProfilesProvider.UncompletedProfile
- Enclosing class:
RemoteProfilesProvider
public static record RemoteProfilesProvider.HttpUncompletedProfile(UUID uuid, pro.gravit.launcher.base.profiles.ClientProfile profile)
extends Record
implements ProfilesProvider.UncompletedProfile
-
Constructor Summary
ConstructorsConstructorDescriptionHttpUncompletedProfile(UUID uuid, pro.gravit.launcher.base.profiles.ClientProfile profile) Creates an instance of aHttpUncompletedProfilerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.getName()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.uuid()Returns the value of theuuidrecord component.
-
Constructor Details
-
HttpUncompletedProfile
Creates an instance of aHttpUncompletedProfilerecord class.- Parameters:
uuid- the value for theuuidrecord componentprofile- the value for theprofilerecord component
-
-
Method Details
-
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). -
uuid
Returns the value of theuuidrecord component.- Returns:
- the value of the
uuidrecord component
-
profile
public pro.gravit.launcher.base.profiles.ClientProfile profile()Returns the value of theprofilerecord component.- Returns:
- the value of the
profilerecord component
-