Interface SDUser
- All Known Subinterfaces:
AnonymousUser
,CheckedUser
,UncheckedUser
@PublicApi
public interface SDUser
Jira Service Management Application User wrapper.
-
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.jira.user.ApplicationUser
forJIRA()
Casts a Jira Service Management user instance to Jira user instance.com.atlassian.jira.util.I18nHelper
boolean
-
Method Details
-
isAnonymous
boolean isAnonymous()- Returns:
- true if the underlying user is anonymous - eg [[com.atlassian.servicedesk.internal.user.SDUser.forJIRA]] returns
null
-
forJIRA
@Nullable com.atlassian.jira.user.ApplicationUser forJIRA()Casts a Jira Service Management user instance to Jira user instance. Theuser
value can benull
, when dealing with anonymous users, for ex.- Returns:
- Jira user instance
-
i18NHelper
com.atlassian.jira.util.I18nHelper i18NHelper() -
getLocale
Locale getLocale()
-