@ExperimentalApi public class KnownUser extends User implements NavigationAware
Modifier and Type | Class and Description |
---|---|
static class |
KnownUser.Builder |
User.Expansions
isUserKnown, mapUserToUsername, username
ANONYMOUS_USER_TYPE, KNOWN_USER_TYPE
Constructor and Description |
---|
KnownUser(Icon profilePicture,
String username,
String displayName)
Deprecated.
since 5.5. Use
KnownUser(Icon, String, String, UserKey) instead. |
KnownUser(Icon profilePicture,
String username,
String displayName,
String userKey) |
KnownUser(Icon profilePicture,
String username,
String displayName,
com.atlassian.sal.api.user.UserKey userKey)
Deprecated.
since 6.5.0. Use the
builder() instead. |
Modifier and Type | Method and Description |
---|---|
static KnownUser.Builder |
builder() |
Reference<UserStatus> |
getStatusRef() |
Navigation.Builder |
resolveNavigation(NavigationService navigationService) |
fromUserkey, fromUsername, getOptionalUsername, getUserKey, getUsername, toString
getDisplayName, getProfilePicture, getSubjectType, optionalUserKey, optionalUsername
public KnownUser(Icon profilePicture, String username, String displayName, String userKey)
@Deprecated public KnownUser(Icon profilePicture, String username, String displayName, com.atlassian.sal.api.user.UserKey userKey)
builder()
instead.@Deprecated public KnownUser(Icon profilePicture, String username, String displayName)
KnownUser(Icon, String, String, UserKey)
instead.public static KnownUser.Builder builder()
public Navigation.Builder resolveNavigation(NavigationService navigationService)
resolveNavigation
in interface NavigationAware
public Reference<UserStatus> getStatusRef()
Copyright © 2003–2020 Atlassian. All rights reserved.