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() |
Icon |
getProfilePicture() |
SubjectType |
getSubjectType() |
abstract com.atlassian.fugue.Option<com.atlassian.sal.api.user.UserKey> |
getUserKey() |
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
public abstract com.atlassian.fugue.Option<String> getOptionalUsername()
public abstract com.atlassian.fugue.Option<com.atlassian.sal.api.user.UserKey> getUserKey()
public SubjectType getSubjectType()
getSubjectType
in interface Subject
SubjectType
corresponding to this SubjectSubjectType#VALUES}
Copyright © 2003–2017 Atlassian. All rights reserved.