Modifier and Type | Field and Description |
---|---|
protected static String |
ANONYMOUS_USER_TYPE |
protected static String |
KNOWN_USER_TYPE |
Modifier | Constructor and Description |
---|---|
protected |
Person(Icon profilePicture)
Deprecated.
since 5.6 use
Person(Icon, String) instead |
protected |
Person(Icon profilePicture,
String displayName) |
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName()
Returns a name that is suitable for display to identify the user / group.
|
abstract com.atlassian.fugue.Option<String> |
getOptionalUsername()
Deprecated.
since 7.0.1. Use
optionalUsername() |
Icon |
getProfilePicture() |
SubjectType |
getSubjectType() |
abstract com.atlassian.fugue.Option<com.atlassian.sal.api.user.UserKey> |
getUserKey()
Deprecated.
since 7.0.1. Use
optionalUserKey() |
Optional<com.atlassian.sal.api.user.UserKey> |
optionalUserKey() |
Optional<String> |
optionalUsername() |
protected static final String KNOWN_USER_TYPE
protected static final String ANONYMOUS_USER_TYPE
@Deprecated protected Person(Icon profilePicture)
Person(Icon, String)
insteadpublic Icon getProfilePicture()
public String getDisplayName()
Subject
getDisplayName
in interface Subject
@Deprecated public abstract com.atlassian.fugue.Option<String> getOptionalUsername()
optionalUsername()
@Deprecated public abstract com.atlassian.fugue.Option<com.atlassian.sal.api.user.UserKey> getUserKey()
optionalUserKey()
public Optional<com.atlassian.sal.api.user.UserKey> optionalUserKey()
public SubjectType getSubjectType()
getSubjectType
in interface Subject
SubjectType
corresponding to this SubjectSubjectType#VALUES}
Copyright © 2003–2021 Atlassian. All rights reserved.