public interface Profile
| Modifier and Type | Method and Description |
|---|---|
static Profile |
create(UUID uniqueId,
String name)
Creates a new profile instance
|
Optional<String> |
getName()
Gets the username associated with this profile
|
long |
getTimestamp()
Gets the timestamp when this Profile was created or last updated.
|
UUID |
getUniqueId()
Gets the unique id associated with this profile
|
@Nonnull static Profile create(@Nonnull UUID uniqueId, @Nullable String name)
uniqueId - the unique idname - the username@Nonnull UUID getUniqueId()
@Nonnull Optional<String> getName()
long getTimestamp()
The returned value is a unix timestamp in milliseconds.
Copyright © 2017. All rights reserved.