Class Anonymous
- java.lang.Object
-
- com.atlassian.confluence.api.model.people.Person
-
- com.atlassian.confluence.api.model.people.Anonymous
-
-
Field Summary
Fields Modifier and Type Field Description static Anonymous
ANONYMOUS_USER
-
Fields inherited from class com.atlassian.confluence.api.model.people.Person
ANONYMOUS_USER_TYPE, KNOWN_USER_TYPE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<com.atlassian.sal.api.user.UserKey>
optionalUserKey()
Optional<String>
optionalUsername()
-
Methods inherited from class com.atlassian.confluence.api.model.people.Person
getDisplayName, getOptionalUsername, getProfilePicture, getSubjectType, getUserKey
-
-
-
-
Field Detail
-
ANONYMOUS_USER
public static final Anonymous ANONYMOUS_USER
- Since:
- 8.2.0
-
-
Constructor Detail
-
Anonymous
@Deprecated public Anonymous(Icon profilePicture)
Deprecated.since 5.5. UseAnonymous(Icon, String)
instead.
-
-
Method Detail
-
optionalUsername
public Optional<String> optionalUsername()
- Specified by:
optionalUsername
in classPerson
-
optionalUserKey
public Optional<com.atlassian.sal.api.user.UserKey> optionalUserKey()
- Specified by:
optionalUserKey
in classPerson
-
-