Class DefaultResolvedProfile
java.lang.Object
com.github.juliarn.npclib.api.profile.DefaultResolvedProfile
- All Implemented Interfaces:
Profile,Profile.Resolved
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.github.juliarn.npclib.api.profile.Profile
Profile.Resolved, Profile.Unresolved -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final Set<ProfileProperty> private final UUID -
Constructor Summary
ConstructorsModifierConstructorDescription(package private)DefaultResolvedProfile(@NotNull String name, @NotNull UUID uniqueId, @NotNull Set<ProfileProperty> properties) privateDefaultResolvedProfile(@NotNull String name, @NotNull UUID uniqueId, @NotNull Set<ProfileProperty> properties, @Nullable Void ignored) -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()@NotNull Stringname()@NotNull Set<ProfileProperty> @NotNull UUIDuniqueId()@NotNull Profile.Resolved@NotNull Profile.Resolved@NotNull Profile.ResolvedwithProperties(@NotNull Set<ProfileProperty> properties) @NotNull Profile.ResolvedwithProperty(@NotNull ProfileProperty property) @NotNull Profile.ResolvedwithUniqueId(@NotNull UUID uniqueId) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.github.juliarn.npclib.api.profile.Profile.Resolved
resolved
-
Field Details
-
name
-
uniqueId
-
properties
-
-
Constructor Details
-
DefaultResolvedProfile
DefaultResolvedProfile(@NotNull @NotNull String name, @NotNull @NotNull UUID uniqueId, @NotNull @NotNull Set<ProfileProperty> properties) -
DefaultResolvedProfile
private DefaultResolvedProfile(@NotNull @NotNull String name, @NotNull @NotNull UUID uniqueId, @NotNull @NotNull Set<ProfileProperty> properties, @Nullable @Nullable Void ignored)
-
-
Method Details
-
properties
- Specified by:
propertiesin interfaceProfile
-
uniqueId
- Specified by:
uniqueIdin interfaceProfile- Specified by:
uniqueIdin interfaceProfile.Resolved
-
name
- Specified by:
namein interfaceProfile- Specified by:
namein interfaceProfile.Resolved
-
withName
- Specified by:
withNamein interfaceProfile.Resolved
-
withUniqueId
- Specified by:
withUniqueIdin interfaceProfile.Resolved
-
withoutProperties
- Specified by:
withoutPropertiesin interfaceProfile.Resolved
-
withProperty
- Specified by:
withPropertyin interfaceProfile.Resolved
-
withProperties
@NotNull public @NotNull Profile.Resolved withProperties(@NotNull @NotNull Set<ProfileProperty> properties) - Specified by:
withPropertiesin interfaceProfile.Resolved
-
hashCode
public int hashCode() -
equals
-